]> Pileus Git - ~andy/gtk/commit
Bug 590959 - Set child_has_focus flag properly
authorBenjamin Otte <otte@gnome.org>
Thu, 6 Aug 2009 14:25:20 +0000 (16:25 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 6 Aug 2009 14:39:19 +0000 (16:39 +0200)
commit6e0af6c25225440263792a3cbecd8f4301e3def5
tree15b187a443c7acd99eabf0d4acb32e8dda20c83a
parentc44b0d2f7a587b70b207d3168b018c2d6db56496
Bug 590959 - Set child_has_focus flag properly

Previously, this flag wasn't cleared properly when the notebook lost
focus, but only when the notebook was focussed again later.
As this flag is only used to advance correctly focus pages by grabbing
focus to the new page after switching the page, this is not good.
In particular, it can cause a focus grab when programmatically switching
the notebook page and the focus is inside a completely different widget.
gtk/gtknotebook.c