From 37fecf49392eb10ada1f4bf481d6ad6be56891dd Mon Sep 17 00:00:00 2001 From: Maxim Ermilov Date: Sat, 27 Sep 2014 17:43:54 +0300 Subject: 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. --- src/core/window-private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/window-private.h') 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, -- cgit v1.2.1