Move keyboard grab info to common code
This is the first stage in tracking keyboard grabs in the common code. This lets us handle destroying or unmapping virtual window with a keyboard grab.
This commit is contained in:
		 Alexander Larsson
					Alexander Larsson
				
			
				
					committed by
					
						 Alexander Larsson
						Alexander Larsson
					
				
			
			
				
	
			
			
			 Alexander Larsson
						Alexander Larsson
					
				
			
						parent
						
							c0ad534d81
						
					
				
				
					commit
					e60af9d315
				
			| @ -650,9 +650,9 @@ gdk_display_keyboard_ungrab (GdkDisplay *display, | ||||
|   XFlush (xdisplay); | ||||
|    | ||||
|   if (time == GDK_CURRENT_TIME ||  | ||||
|       display_x11->keyboard_xgrab_time == GDK_CURRENT_TIME || | ||||
|       !XSERVER_TIME_IS_LATER (display_x11->keyboard_xgrab_time, time)) | ||||
|     display_x11->keyboard_xgrab_window = NULL; | ||||
|       display->keyboard_grab.time == GDK_CURRENT_TIME || | ||||
|       !XSERVER_TIME_IS_LATER (display->keyboard_grab.time, time)) | ||||
|     display->keyboard_grab.window = NULL; | ||||
| } | ||||
|  | ||||
| /** | ||||
|  | ||||
		Reference in New Issue
	
	Block a user