summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.c
diff options
context:
space:
mode:
authorSébastien Granjoux <seb.sfo@free.fr>2012-05-26 22:32:07 +0200
committerMatthias Clasen <mclasen@redhat.com>2012-09-16 23:28:02 -0400
commitaf5ecd77e3f0d7f093a4a311bbf628980875ef36 (patch)
treeb374e516eabc48327e0e50753900200ece28a3f4 /gtk/gtktextview.c
parentf9e435df437df971cdf50dc2091bdbab1d1df698 (diff)
downloadgtk+-af5ecd77e3f0d7f093a4a311bbf628980875ef36.tar.gz
button: Clear highlight when a button is removed from a container
A button is highlighted if the private variable in_button is TRUE. This variable is set when the pointer is over the button and cleared when it left the button. When a button is hidden while there is the pointer over it, GTK generates a leave notification event, in_button is set to FALSE. But when a button is removed from a container but not destroyed, it is unrealized and loose its window. It cannot receive the leave notification event and in_button stay TRUE. So when the button get a new parent it is still highlighted. https://bugzilla.gnome.org/show_bug.cgi?id=676890
Diffstat (limited to 'gtk/gtktextview.c')
0 files changed, 0 insertions, 0 deletions