diff options
Diffstat (limited to 'src/include/common.h')
-rw-r--r-- | src/include/common.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/src/include/common.h b/src/include/common.h index 6e94c7a0..83b750a9 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -35,21 +35,22 @@ typedef enum { META_FRAME_ALLOWS_DELETE = 1 << 0, META_FRAME_ALLOWS_MENU = 1 << 1, - META_FRAME_ALLOWS_MINIMIZE = 1 << 2, - META_FRAME_ALLOWS_MAXIMIZE = 1 << 3, - META_FRAME_ALLOWS_VERTICAL_RESIZE = 1 << 4, - META_FRAME_ALLOWS_HORIZONTAL_RESIZE = 1 << 5, - META_FRAME_HAS_FOCUS = 1 << 6, - META_FRAME_SHADED = 1 << 7, - META_FRAME_STUCK = 1 << 8, - META_FRAME_MAXIMIZED = 1 << 9, - META_FRAME_ALLOWS_SHADE = 1 << 10, - META_FRAME_ALLOWS_MOVE = 1 << 11, - META_FRAME_FULLSCREEN = 1 << 12, - META_FRAME_IS_FLASHING = 1 << 13, - META_FRAME_ABOVE = 1 << 14, - META_FRAME_TILED_LEFT = 1 << 15, - META_FRAME_TILED_RIGHT = 1 << 16 + META_FRAME_ALLOWS_APPMENU = 1 << 2, + META_FRAME_ALLOWS_MINIMIZE = 1 << 3, + META_FRAME_ALLOWS_MAXIMIZE = 1 << 4, + META_FRAME_ALLOWS_VERTICAL_RESIZE = 1 << 5, + META_FRAME_ALLOWS_HORIZONTAL_RESIZE = 1 << 6, + META_FRAME_HAS_FOCUS = 1 << 7, + META_FRAME_SHADED = 1 << 8, + META_FRAME_STUCK = 1 << 9, + META_FRAME_MAXIMIZED = 1 << 10, + META_FRAME_ALLOWS_SHADE = 1 << 11, + META_FRAME_ALLOWS_MOVE = 1 << 12, + META_FRAME_FULLSCREEN = 1 << 13, + META_FRAME_IS_FLASHING = 1 << 14, + META_FRAME_ABOVE = 1 << 15, + META_FRAME_TILED_LEFT = 1 << 16, + META_FRAME_TILED_RIGHT = 1 << 17 } MetaFrameFlags; typedef enum @@ -143,6 +144,7 @@ typedef enum META_GRAB_OP_CLICKING_UNMAXIMIZE_HORIZONTAL, META_GRAB_OP_CLICKING_DELETE, META_GRAB_OP_CLICKING_MENU, + META_GRAB_OP_CLICKING_APPMENU, META_GRAB_OP_CLICKING_SHADE, META_GRAB_OP_CLICKING_UNSHADE, META_GRAB_OP_CLICKING_ABOVE, @@ -271,6 +273,7 @@ typedef enum typedef enum { META_BUTTON_FUNCTION_MENU, + META_BUTTON_FUNCTION_APPMENU, META_BUTTON_FUNCTION_MINIMIZE, META_BUTTON_FUNCTION_MAXIMIZE, META_BUTTON_FUNCTION_CLOSE, |