[Bug] Apparent bitrot in CVS gtk+-1.3 gdk/win32/gdkwindow-win32.c

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Max Bowsher writes:
 >        if (window != _gdk_parent_root)
 >   {
 >     ClientToScreen (GDK_WINDOW_HWND (window), &rect);
 >     ScreenToClient (GDK_WINDOW_HWND (gdk_window_get_parent (window)),
 > &rect);
 >   }

/me blushes. I copy-pasted those lines from the 2.0 branch, and
promptly forgot to even verify that it compiles. In 1.3, it should be:

      if (window != gdk_parent_root)
	{
	  ClientToScreen (GDK_DRAWABLE_XID (window), &rect);
	  ScreenToClient (GDK_DRAWABLE_XID (gdk_window_get_parent (window)), &rect);
	}

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.