summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-03 21:39:57 +0000
committerrhp <rhp>2001-06-03 21:39:57 +0000
commitc506b4862445dfa3b038eefd767499c715ccd4f6 (patch)
treecb592b34f51a8b9ed93af30a398876eaee056695 /src/theme.h
parent4ae250ae97ca0a6c549e80490884b7c2225df2c6 (diff)
downloadmetacity-c506b4862445dfa3b038eefd767499c715ccd4f6.tar.gz
...
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/theme.h b/src/theme.h
index bfeaf34d..5fdea6db 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -40,7 +40,8 @@ typedef enum
META_FRAME_ALLOWS_ICONIFY = 1 << 2,
META_FRAME_ALLOWS_MAXIMIZE = 1 << 3,
META_FRAME_ALLOWS_RESIZE = 1 << 4,
- META_FRAME_TRANSIENT = 1 << 5
+ META_FRAME_TRANSIENT = 1 << 5,
+ META_FRAME_HAS_FOCUS = 1 << 6
} MetaFrameFlags;
typedef enum
@@ -65,7 +66,8 @@ struct _MetaFrameInfo
{
/* These are read-only to engines */
MetaFrameFlags flags;
- Window frame; /* == None in fill_frame_geometry */
+ Window drawable; /* == None except in expose */
+ int xoffset, yoffset; /* add to frame coords to get drawable coords */
Display *display;
Screen *screen;
Visual *visual;
@@ -94,7 +96,7 @@ struct _MetaFrameGeometry
unsigned long background_pixel;
Pixmap shape_mask;
- /* FIXME shape region */
+ /* FIXME shape region? */
};
struct _MetaThemeEngine