ignore sticky windows for non-active workspaces. Fixes #165259.

2005-01-25  Elijah Newren  <newren@gmail.com>

	* src/tabpopup.c: (meta_select_workspace_expose_event): ignore
	sticky windows for non-active workspaces.  Fixes #165259.
This commit is contained in:
Elijah Newren 2005-01-26 02:51:31 +00:00 committed by Elijah Newren
parent bb03725397
commit ebaa77c312
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-25 Elijah Newren <newren@gmail.com>
* src/tabpopup.c: (meta_select_workspace_expose_event): ignore
sticky windows for non-active workspaces. Fixes #165259.
2005-01-25 Elijah Newren <newren@gmail.com> 2005-01-25 Elijah Newren <newren@gmail.com>
* src/window.c: (meta_window_new_with_attrs): set the window state * src/window.c: (meta_window_new_with_attrs): set the window state

View File

@ -842,12 +842,17 @@ meta_select_workspace_expose_event (GtkWidget *widget,
while (tmp != NULL) while (tmp != NULL)
{ {
MetaWindow *window; MetaWindow *window;
gboolean ignoreable_sticky;
window = tmp->data; window = tmp->data;
ignoreable_sticky = window->on_all_workspaces &&
workspace != workspace->screen->active_workspace;
if (window->skip_pager || if (window->skip_pager ||
window->minimized || window->minimized ||
window->unmaps_pending) window->unmaps_pending ||
ignoreable_sticky)
{ {
--n_windows; --n_windows;
} }