Skip to content
  • Havoc Pennington's avatar
    The whole GDK_IS_WINDOW() branch of this was a bit screwed up, because it · a4be7d83
    Havoc Pennington authored
    2001-08-06  Havoc Pennington  <hp@pobox.com>
    
     	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): The whole
     	GDK_IS_WINDOW() branch of this was a bit screwed up, because
     	it was expecting a GdkWindow, not a GdkWindowImplX11.
    
     	Also, we were getting the window rect in screen coords
     	and the screen rect in window coords then intersecting
     	them; instead, get window rect in window coords.
    
     	Finally, there were codepaths that resulted in a stuck server grab
     	(when the window was fully onscreen, or on gdk_image_new()
     	failure); make the server ungrab thing a bit more
     	robust/consistent.
    a4be7d83
To find the state of this project's repository at the time of any of these versions, check out the tags.