Cursor: fix incorrect lock manager state assertion
This commit is contained in:
		
				
					committed by
					
						 Isaac Freund
						Isaac Freund
					
				
			
			
				
	
			
			
			
						parent
						
							84abdfaced
						
					
				
				
					commit
					6fdfb7134f
				
			| @ -367,7 +367,7 @@ fn updateKeyboardFocus(self: Self, result: SurfaceAtResult) void { | ||||
|             self.seat.setFocusRaw(.{ .lock_surface = lock_surface }); | ||||
|         }, | ||||
|         .xwayland_override_redirect => |override_redirect| { | ||||
|             assert(server.lock_manager.state != .unlocked); | ||||
|             assert(server.lock_manager.state == .unlocked); | ||||
|             override_redirect.focusIfDesired(); | ||||
|         }, | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user