diff options
author | Elijah Newren <newren@gmail.com> | 2005-01-11 19:54:14 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-01-11 19:54:14 +0000 |
commit | 2e465de233b63a38193e5841da471404a194e9a6 (patch) | |
tree | 408a7588c5801738e6252c25aafebd2df3b48770 | |
parent | 1830a35000adffcc0e6b3a1bfa11e90074a5e162 (diff) | |
download | metacity-2e465de233b63a38193e5841da471404a194e9a6.tar.gz |
Correct highlighting of windows in workspace switcher popup. Fixesspiffiffity-branchpointSPIFFIFITY_BRANCHPOINT
2005-01-11 Elijah Newren <newren@gmail.com>
Correct highlighting of windows in workspace switcher popup.
Fixes #163450.
* src/tabpopup.c (meta_select_workspace_expose_event): Remove race
between FocusIn/FocusOut events and the expose event by replacing
window->has_focus with
window==window->display->expected_focus_window.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | src/tabpopup.c | 3 |
2 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,13 @@ +2005-01-11 Elijah Newren <newren@gmail.com> + + Correct highlighting of windows in workspace switcher popup. + Fixes #163450. + + * src/tabpopup.c (meta_select_workspace_expose_event): Remove race + between FocusIn/FocusOut events and the expose event by replacing + window->has_focus with + window==window->display->expected_focus_window. + 2005-01-09 Elijah Newren <newren@gmail.com> * configure.in: post-release version bump to 2.9.5 diff --git a/src/tabpopup.c b/src/tabpopup.c index e4074620..ca255461 100644 --- a/src/tabpopup.c +++ b/src/tabpopup.c @@ -781,7 +781,8 @@ meta_select_workspace_expose_event (GtkWidget *widget, { windows[i].icon = window->icon; windows[i].mini_icon = window->mini_icon; - windows[i].is_active = window->has_focus; + windows[i].is_active = + (window == window->display->expected_focus_window); if (window->frame) { |