color picker popup: use a pointer grab again
authorAndrew Chadwick <andrewc-git@piffle.org>
Thu, 6 Dec 2012 02:36:59 +0000 (02:36 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Thu, 6 Dec 2012 03:10:07 +0000 (03:10 +0000)
commitd6b60511aaece4eafca524d483ae8ef70bb1cff9
treec9abecf1d2d452997e1a728daa4182b7bb009f55
parentdaa8c5b33206d0a3e42c3143161c14d351a9c56f
color picker popup: use a pointer grab again

Fixes (on my system, tested in Xfce4 and Unity) two problems with the
color picker popup window:

- Picker popup doesn't disappear when using a modifier+pointer button to
  activate it

- Picker popup doesn't update continuously when the R key (or any other) is
  used to activate it.

https://gna.org/bugs/?19710

Back and forth on using a pointer grab vs. a gtk grab, but this now
seems the better approach. Fingers crossed.
gui/colorpicker.py