mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
							parent
							
								
									46599df0a2
								
							
						
					
					
						commit
						b18d943442
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -755,6 +755,12 @@ static void sway_keyboard_group_add(struct sway_keyboard *keyboard) {
 | 
				
			||||||
	struct wlr_keyboard *wlr_keyboard = device->wlr_device->keyboard;
 | 
						struct wlr_keyboard *wlr_keyboard = device->wlr_device->keyboard;
 | 
				
			||||||
	struct sway_seat *seat = keyboard->seat_device->sway_seat;
 | 
						struct sway_seat *seat = keyboard->seat_device->sway_seat;
 | 
				
			||||||
	struct seat_config *sc = seat_get_config(seat);
 | 
						struct seat_config *sc = seat_get_config(seat);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (device->is_virtual) {
 | 
				
			||||||
 | 
							// Virtual devices should not be grouped
 | 
				
			||||||
 | 
							return;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!sc) {
 | 
						if (!sc) {
 | 
				
			||||||
		sc = seat_get_config_by_name("*");
 | 
							sc = seat_get_config_by_name("*");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue