picker: use toplevels when gdk window is known
authorAndrew Chadwick <andrewc-git@piffle.org>
Sat, 1 Dec 2012 22:11:44 +0000 (22:11 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sat, 1 Dec 2012 22:41:28 +0000 (22:41 +0000)
commitf38b4b8a52e7f679853992424b8d5cd985efec9c
treec0fa7bcc6a962b34f2fb54f7f4d31d0d72a761ee
parenta3f97f537e62e2b0e0dec5d11400184565589e56
picker: use toplevels when gdk window is known

Use the toplevel window when the user picks from a window that's known
to GDK. This may be more reliable than using the root window every time.

https://gna.org/bugs/?20311
gui/application.py
gui/colors/picker.py