diff options
author | Elijah Newren <newren@math.utah.edu> | 2004-10-25 16:09:02 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-10-25 16:09:02 +0000 |
commit | b58f561981e238bf5906c68ff37fa426dfb5abe4 (patch) | |
tree | 83553018ea888e415708cbdfcad904a3b33258bc | |
parent | 442fb19c115d967e3b9d6a29f253797aeac8b677 (diff) | |
download | metacity-b58f561981e238bf5906c68ff37fa426dfb5abe4.tar.gz |
Revert the queue_windows_showing portion of the patch committed on
2004-10-25 Elijah Newren <newren@math.utah.edu>
* src/screen.c (queue_windows_showing): Revert the
queue_windows_showing portion of the patch committed on 2004-10-16
for #142198--it was an ill-advised optimization.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/screen.c | 12 |
2 files changed, 15 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2004-10-25 Elijah Newren <newren@math.utah.edu> + + * src/screen.c (queue_windows_showing): Revert the + queue_windows_showing portion of the patch committed on 2004-10-16 + for #142198--it was an ill-advised optimization. + 2004-10-20 Elijah Newren <newren@math.utah.edu> Patch from Soeren to fix the modifier key breakage introduced by diff --git a/src/screen.c b/src/screen.c index be1944b0..9cb462d1 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2182,10 +2182,14 @@ meta_screen_update_showing_desktop_hint (MetaScreen *screen) static void queue_windows_showing (MetaScreen *screen) { - GList *windows; - GList *tmp; + GSList *windows; + GSList *tmp; - windows = screen->active_workspace->windows; + /* Must operate on all windows on display instead of just on the + * active_workspace's window list, because the active_workspace's + * window list may not contain the on_all_workspace windows. + */ + windows = meta_display_list_windows (screen->display); tmp = windows; while (tmp != NULL) @@ -2197,6 +2201,8 @@ queue_windows_showing (MetaScreen *screen) tmp = tmp->next; } + + g_slist_free (windows); } void |