[PATCH] GIMP's color picker of color dialog not work, returns black
Submitted by Massimo
Assigned to cairo-bugs mailing list
Description
Created attachment 86200 quick hack
I've investigated GIMP's https://bugzilla.gnome.org/show_bug.cgi?id=676708, on Windows XP, and the cause is that 'GetClipBox', on XP, for desktop's hdc returns NULLREGION and an empty rect. That produces an empty win32 surface which then, used as a source, paints nothing (do_nothing returns true).
With the attached patch GIMP's color dialog color picker returns the color under the pointer also on XP.
Attachment 86200, "quick hack":
0001-win32-on-XP-GetClipBox-on-the-root-window-returns-NU.patch