mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Removed unnecessary debugging lines
This commit is contained in:
		
							parent
							
								
									01c6caced6
								
							
						
					
					
						commit
						7756f423c3
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
					@ -60,9 +60,7 @@ swayc_t *container_under_pointer(void) {
 | 
				
			||||||
			i = len = lookup->floating->length;
 | 
								i = len = lookup->floating->length;
 | 
				
			||||||
			bool got_floating = false;
 | 
								bool got_floating = false;
 | 
				
			||||||
			while (--i > -1) {
 | 
								while (--i > -1) {
 | 
				
			||||||
				sway_log(L_DEBUG, "Checking index %d of floating items", i);
 | 
					 | 
				
			||||||
				if (pointer_test(lookup->floating->items[i], &mouse_origin)) {
 | 
									if (pointer_test(lookup->floating->items[i], &mouse_origin)) {
 | 
				
			||||||
					sway_log(L_DEBUG, "Got hit for floatin on %d", i);
 | 
					 | 
				
			||||||
					lookup = lookup->floating->items[i];
 | 
										lookup = lookup->floating->items[i];
 | 
				
			||||||
					got_floating = true;
 | 
										got_floating = true;
 | 
				
			||||||
					break;
 | 
										break;
 | 
				
			||||||
| 
						 | 
					@ -75,7 +73,6 @@ swayc_t *container_under_pointer(void) {
 | 
				
			||||||
		// search children
 | 
							// search children
 | 
				
			||||||
		len = lookup->children->length;
 | 
							len = lookup->children->length;
 | 
				
			||||||
		for (i = 0; i < len; ++i) {
 | 
							for (i = 0; i < len; ++i) {
 | 
				
			||||||
			sway_log(L_DEBUG, "Checking index %d of standard children", i);
 | 
					 | 
				
			||||||
			if (pointer_test(lookup->children->items[i], &mouse_origin)) {
 | 
								if (pointer_test(lookup->children->items[i], &mouse_origin)) {
 | 
				
			||||||
				lookup = lookup->children->items[i];
 | 
									lookup = lookup->children->items[i];
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue