mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
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:
parent
bb03725397
commit
ebaa77c312
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user