summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-23 18:30:27 +0000
committerrhp <rhp>2001-06-23 18:30:27 +0000
commitf3d61bf7b024b6926fb8bba889c2b6a778d9b0ff (patch)
treee2795d11bee2974dd1c8cf4a0c92dc1a0c0b4d31 /src/window.h
parentf9c2652e0d7c0edd76459366159701134a0444b5 (diff)
downloadmetacity-f3d61bf7b024b6926fb8bba889c2b6a778d9b0ff.tar.gz
...
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index fa103736..218fd5cb 100644
--- a/src/window.h
+++ b/src/window.h
@@ -104,12 +104,22 @@ struct _MetaWindow
/* Globally active / No input */
guint input : 1;
- /* Features of window */
+ /* MWM hints about features of window */
+ guint mwm_decorated : 1;
+ guint mwm_has_close_func : 1;
+ guint mwm_has_minimize_func : 1;
+ guint mwm_has_maximize_func : 1;
+ guint mwm_has_move_func : 1;
+ guint mwm_has_resize_func : 1;
+
+ /* Computed features of window */
guint decorated : 1;
guint has_close_func : 1;
guint has_minimize_func : 1;
guint has_maximize_func : 1;
guint has_shade_func : 1;
+ guint has_move_func : 1;
+ guint has_resize_func : 1;
/* Weird "_NET_WM_STATE_MODAL" flag */
guint wm_state_modal : 1;
@@ -144,6 +154,11 @@ struct _MetaWindow
/* Used by keybindings.c */
guint keys_grabbed : 1;
guint grab_on_frame : 1;
+
+ /* Set if the reason for unmanaging the window is that
+ * it was withdrawn
+ */
+ guint withdrawn : 1;
/* Number of UnmapNotify that are caused by us, if
* we get UnmapNotify with none pending then the client