summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-10-10 15:03:41 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-10-10 15:03:41 +0300
commitf033b5b498bf9e7193d6e0eb1c29071a303251a3 (patch)
tree30f16bb4731c1b7bb47f507d31d596c893ee0b4e /src/core/window-private.h
parent0d658d4d7bfef994c2123839e7dc35cf164dceda (diff)
downloadmetacity-f033b5b498bf9e7193d6e0eb1c29071a303251a3.tar.gz
stack: don't ignore workspace in get_default_focus_window
Commit 00b3e2af07a3 stopped using workspace argument. Redo that change to use passed in workspace instead of assuming it is always active workspace.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index 05b3ac6f..147e81c7 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -526,6 +526,9 @@ void meta_window_resize_with_gravity (MetaWindow *window,
/* Return whether the window would be showing if we were on its workspace */
gboolean meta_window_showing_on_its_workspace (MetaWindow *window);
+gboolean meta_window_should_be_showing_on_workspace (MetaWindow *window,
+ MetaWorkspace *workspace);
+
/* Return whether the window should be currently mapped */
gboolean meta_window_should_be_showing (MetaWindow *window);