diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-12-14 00:23:57 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-12-14 00:26:40 +0100 |
commit | 10b5ec20f2d42949bbec2f3519dbf5dca380fe49 (patch) | |
tree | 3486569669655204a6704990ba08d3fc1b8bfecc /gdk/gdkwindow.h | |
parent | 064204da9b4d17c66760c2b57fd20b4ca510d89d (diff) | |
download | gtk+-10b5ec20f2d42949bbec2f3519dbf5dca380fe49.tar.gz |
Fix set_focus_child handling during focus changes
In many cases we used to set focus_child to NULL all the way up
to the top and then to the right value, even if there was
a common ancestor, meaning these see a temporary NULL value for
focus_child. Only when the new focus widgets direct parent was
in the previous ancestor list did we stop early.
This fixes that by always stopping propagation when reaching
the common ancestor.
Diffstat (limited to 'gdk/gdkwindow.h')
0 files changed, 0 insertions, 0 deletions