mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	removed stupid test code
This commit is contained in:
		
							parent
							
								
									7a1c36716a
								
							
						
					
					
						commit
						a70b9a9a7a
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -230,9 +230,7 @@ static void handle_view_destroyed(wlc_handle handle) {
 | 
			
		|||
 | 
			
		||||
    swayc_t *focused_view = get_focused_view(&root_container);
 | 
			
		||||
    if(focused_view->type == C_WORKSPACE && focused_view->children->length == 0){
 | 
			
		||||
        sway_log(L_DEBUG, "we are here first");
 | 
			
		||||
        if(focused_view->floating->length > 0){
 | 
			
		||||
            sway_log(L_DEBUG, "we are here %d", focused_view->floating->length);
 | 
			
		||||
            focused_view = focused_view->floating->items[focused_view->floating->length-1];
 | 
			
		||||
            focused_view = get_focused_view(focused_view);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue