Initial client-side-windows work
The history before this was kind of twisted as several different approaches were tested, so that was all squashed into this initial commit to hide the uninteresting changes and files that were later removed.
This commit is contained in:
		 Alexander Larsson
					Alexander Larsson
				
			
				
					committed by
					
						 Alexander Larsson
						Alexander Larsson
					
				
			
			
				
	
			
			
			 Alexander Larsson
						Alexander Larsson
					
				
			
						parent
						
							e2a2ba9d98
						
					
				
				
					commit
					eabac453e6
				
			| @ -141,7 +141,7 @@ gdk_selection_owner_set_for_display (GdkDisplay *display, | ||||
|  | ||||
|   if (owner)  | ||||
|     { | ||||
|       if (GDK_WINDOW_DESTROYED (owner)) | ||||
|       if (GDK_WINDOW_DESTROYED (owner) || !GDK_WINDOW_IS_X11 (owner)) | ||||
| 	return FALSE; | ||||
|        | ||||
|       xdisplay = GDK_WINDOW_XDISPLAY (owner); | ||||
| @ -231,7 +231,7 @@ gdk_selection_convert (GdkWindow *requestor, | ||||
|  | ||||
|   g_return_if_fail (selection != GDK_NONE); | ||||
|    | ||||
|   if (GDK_WINDOW_DESTROYED (requestor)) | ||||
|   if (GDK_WINDOW_DESTROYED (requestor) || !GDK_WINDOW_IS_X11 (requestor)) | ||||
|     return; | ||||
|  | ||||
|   display = GDK_WINDOW_DISPLAY (requestor); | ||||
| @ -279,10 +279,11 @@ gdk_selection_property_get (GdkWindow  *requestor, | ||||
|  | ||||
|   g_return_val_if_fail (requestor != NULL, 0); | ||||
|   g_return_val_if_fail (GDK_IS_WINDOW (requestor), 0); | ||||
|   g_return_val_if_fail (GDK_WINDOW_IS_X11 (requestor), 0); | ||||
|    | ||||
|   display = GDK_WINDOW_DISPLAY (requestor); | ||||
|  | ||||
|   if (GDK_WINDOW_DESTROYED (requestor)) | ||||
|   if (GDK_WINDOW_DESTROYED (requestor) || !GDK_WINDOW_IS_X11 (requestor)) | ||||
|     goto err; | ||||
|  | ||||
|   t = NULL; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user