From c9c3f858e28edf0856a263941007401923adbabd Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sat, 27 Sep 2014 17:06:36 +0300 Subject: Add frame type for attached modal dialogs Add a new frame type META_FRAME_TYPE_ATTACHED which is used for attached modal dialogs. The theme format version is bumped to 3.2, and attached windows can have borders defined in a metacity-theme-3.xml as: If no style is defined for "attached", drawing will fall back to the "border" type. https://bugzilla.gnome.org/show_bug.cgi?id=592382 NOTE: Patch copied from mutter and adapted for metacity. --- src/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/common.h b/src/include/common.h index fd7de17c..6e94c7a0 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -208,6 +208,7 @@ typedef enum META_FRAME_TYPE_UTILITY, META_FRAME_TYPE_MENU, META_FRAME_TYPE_BORDER, + META_FRAME_TYPE_ATTACHED, META_FRAME_TYPE_LAST } MetaFrameType; -- cgit v1.2.1