summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorMaxim Ermilov <[email protected]>2014-09-27 17:43:54 +0300
committerVictor Kareh <[email protected]>2018-08-28 09:38:37 -0400
commit37fecf49392eb10ada1f4bf481d6ad6be56891dd (patch)
tree77e7190c06f6590a11ff305ce4066daba9825851 /src/core/window-private.h
parent4f47c5be61320102120fcae6c8c04f63c5b4f5b5 (diff)
downloadmarco-37fecf49392eb10ada1f4bf481d6ad6be56891dd.tar.bz2
marco-37fecf49392eb10ada1f4bf481d6ad6be56891dd.tar.xz
Optionally attach modal dialogs
Add a preference /apps/mutter/general/attach_modal_dialogs. When true, instead of having independent titlebars, modal dialogs appear attached to the titlebar of the parent window and are moved together with the parent window. https://bugzilla.gnome.org/show_bug.cgi?id=612726 NOTE: Patch copied from mutter and adapted for metacity.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index a6b49b4b..a6b6418c 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -474,6 +474,8 @@ void meta_window_update_fullscreen_monitors (MetaWindow *window,
unsigned long left,
unsigned long right);
+gboolean meta_window_appears_focused (MetaWindow *window);
+
/* args to move are window pos, not frame pos */
void meta_window_move (MetaWindow *window,
gboolean user_op,