mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	implement commented-out bit in seat_disinhibit_input
This commit is contained in:
		
							parent
							
								
									eb2d0918ba
								
							
						
					
					
						commit
						ab9838888d
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -344,6 +344,8 @@ void cursor_init(struct seat *seat);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void keyboard_init(struct seat *seat);
 | 
					void keyboard_init(struct seat *seat);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void arrange_layers(struct output *output);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void seat_init(struct server *server);
 | 
					void seat_init(struct server *server);
 | 
				
			||||||
void seat_finish(struct server *server);
 | 
					void seat_finish(struct server *server);
 | 
				
			||||||
void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);
 | 
					void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -107,11 +107,10 @@ static void seat_disinhibit_input(struct seat *seat)
 | 
				
			||||||
	seat->active_client_while_inhibited = NULL;
 | 
						seat->active_client_while_inhibited = NULL;
 | 
				
			||||||
	// Triggers a refocus of the topmost surface layer if necessary
 | 
						// Triggers a refocus of the topmost surface layer if necessary
 | 
				
			||||||
	// TODO: Make layer surface focus per-output based on cursor position
 | 
						// TODO: Make layer surface focus per-output based on cursor position
 | 
				
			||||||
/*
 | 
					
 | 
				
			||||||
  struct roots_output *output;
 | 
						struct output *output;
 | 
				
			||||||
	wl_list_for_each(output, &seat->input->server->desktop->outputs, link) {
 | 
						wl_list_for_each(output, &seat->server->outputs, link)
 | 
				
			||||||
		arrange_layers(output);
 | 
							arrange_layers(output);
 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue