mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Check for seat0 properly
This commit is contained in:
		
							parent
							
								
									47985d2dc5
								
							
						
					
					
						commit
						964e0a50be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -79,7 +79,7 @@ static bool direct_change_vt(struct wlr_session *base, unsigned vt) {
 | 
				
			||||||
	struct direct_session *session = wl_container_of(base, session, base);
 | 
						struct direct_session *session = wl_container_of(base, session, base);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Only seat0 has VTs associated with it
 | 
						// Only seat0 has VTs associated with it
 | 
				
			||||||
	if (strcmp(session->base.seat, "seat0") == 0) {
 | 
						if (strcmp(session->base.seat, "seat0") != 0) {
 | 
				
			||||||
		return true;
 | 
							return true;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue