mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
							parent
							
								
									181b6b31a4
								
							
						
					
					
						commit
						eb82a500c8
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -139,6 +139,11 @@ bool set_focused_container(swayc_t *c) {
 | 
				
			||||||
				wlc_view_focus(p->handle);
 | 
									wlc_view_focus(p->handle);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						} else if (p->type == C_WORKSPACE) {
 | 
				
			||||||
 | 
							// remove previous focus if view_focus is unlocked
 | 
				
			||||||
 | 
							if (!locked_view_focus) {
 | 
				
			||||||
 | 
								wlc_view_focus(0);
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (active_ws != workspace) {
 | 
						if (active_ws != workspace) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue