mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 12:42:02 +00:00 
			
		
		
		
	[client] x11: fix issue with grab when clicking on the unfocused window
Fixes #856
This commit is contained in:
		| @@ -993,8 +993,10 @@ static void x11XInputEvent(XGenericEventCookie *cookie) | ||||
|     { | ||||
|       atomic_store(&x11.lastWMEvent, microtime()); | ||||
|       XILeaveEvent *xie = cookie->data; | ||||
|  | ||||
|       if (!x11.entered || xie->event != x11.window || | ||||
|           button_state != 0 || app_isCaptureMode()) | ||||
|           button_state != 0 || app_isCaptureMode() || | ||||
|           xie->mode == NotifyGrab) | ||||
|         return; | ||||
|  | ||||
|       app_updateCursorPos(xie->event_x, xie->event_y); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae