mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Check input_mode to see whether window switcher is active or not
...rather than "if (server->osd_state.cycle_view){..}".
			
			
This commit is contained in:
		
							parent
							
								
									398b80b26f
								
							
						
					
					
						commit
						5d3ce3e190
					
				
					 6 changed files with 17 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -874,7 +874,7 @@ xdg_activation_handle_request(struct wl_listener *listener, void *data)
 | 
			
		|||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (view->server->osd_state.cycle_view) {
 | 
			
		||||
	if (view->server->input_mode == LAB_INPUT_STATE_WINDOW_SWITCHER) {
 | 
			
		||||
		wlr_log(WLR_INFO, "Preventing focus request while in window switcher");
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue