mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
sticky windows aren't visibile on all screens. Check the workspace is on
2002-06-20 Mark McLoughlin <mark@skynet.ie> * src/window.c: (meta_window_visible_on_workspace): sticky windows aren't visibile on all screens. Check the workspace is on the same screen as the window. * src/workspace.c: (meta_workspace_list_windows): use meta_window_visible_on_workspace here.
This commit is contained in:
parent
fb49dabcc2
commit
854e58fd82
@ -1,3 +1,12 @@
|
||||
2002-06-20 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
* src/window.c: (meta_window_visible_on_workspace): sticky
|
||||
windows aren't visibile on all screens. Check the workspace
|
||||
is on the same screen as the window.
|
||||
|
||||
* src/workspace.c: (meta_workspace_list_windows): use
|
||||
meta_window_visible_on_workspace here.
|
||||
|
||||
2002-06-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/display.c (meta_resize_gravity_from_grab_op): handle UNKNOWN
|
||||
|
@ -953,7 +953,7 @@ gboolean
|
||||
meta_window_visible_on_workspace (MetaWindow *window,
|
||||
MetaWorkspace *workspace)
|
||||
{
|
||||
return window->on_all_workspaces ||
|
||||
return (window->on_all_workspaces && window->screen == workspace->screen) ||
|
||||
meta_workspace_contains_window (workspace, window);
|
||||
}
|
||||
|
||||
|
@ -285,8 +285,7 @@ meta_workspace_list_windows (MetaWorkspace *workspace)
|
||||
{
|
||||
MetaWindow *window = tmp->data;
|
||||
|
||||
if (window->on_all_workspaces ||
|
||||
meta_workspace_contains_window (workspace, window))
|
||||
if (meta_window_visible_on_workspace (window, workspace))
|
||||
workspace_windows = g_list_prepend (workspace_windows,
|
||||
window);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user