]> Pileus Git - ~andy/gtk/commit
combobox: popdown the combobox when on 'grab-broken-event'
authorAleksander Morgado <aleksander@lanedo.com>
Wed, 6 Mar 2013 12:16:12 +0000 (13:16 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Mar 2013 11:23:17 +0000 (07:23 -0400)
commit24fa27732942b074e5a0c5872944cb3ba2fde1aa
tree250af0f33d00edeea9b03a7ba016bb2e8701e0bb
parentd1de6c322b96d100ae37be92b5d5890897190661
combobox: popdown the combobox when on 'grab-broken-event'

And also explicitly remove pointer/keyboard grabs from the display.

Whenever the grab is reported lost, we should popdown the combobox, so that the
GDK_WINDOW_TEMP window is hidden and removed from the toplevel, as done with
the menu for example.

Leaving the GDK_WINDOW_TEMP window open when re-activating the application
triggers several issues in the win32 backend, due to restacking windows of the
non-toplevel group into the toplevel group:

https://bugzilla.gnome.org/show_bug.cgi?id=695200
gtk/gtkcombobox.c