diff options
author | rhp <rhp> | 2001-07-11 06:22:00 +0000 |
---|---|---|
committer | rhp <rhp> | 2001-07-11 06:22:00 +0000 |
commit | 71d3333d4de1b02dbfd415edd6051ce14510f15e (patch) | |
tree | bf15920164a4beab392196978d22e992867ab3ea /src/common.h | |
parent | 8a2841a8ab5bb9295ae07cb8fd442f00114a4e8d (diff) | |
download | mutter-71d3333d4de1b02dbfd415edd6051ce14510f15e.tar.gz |
...
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 4bbe50170..af8070593 100644 --- a/src/common.h +++ b/src/common.h @@ -53,7 +53,9 @@ typedef enum META_MENU_OP_SHADE = 1 << 5, META_MENU_OP_UNSTICK = 1 << 6, META_MENU_OP_STICK = 1 << 7, - META_MENU_OP_WORKSPACES = 1 << 8 + META_MENU_OP_WORKSPACES = 1 << 8, + META_MENU_OP_MOVE = 1 << 9, + META_MENU_OP_RESIZE = 1 << 10 } MetaMenuOp; typedef struct _MetaWindowMenu MetaWindowMenu; @@ -65,4 +67,28 @@ typedef void (* MetaWindowMenuFunc) (MetaWindowMenu *menu, int workspace, gpointer data); +typedef enum +{ + META_GRAB_OP_NONE, + META_GRAB_OP_MOVING, + META_GRAB_OP_RESIZING_SE, + META_GRAB_OP_RESIZING_S, + META_GRAB_OP_RESIZING_SW, + META_GRAB_OP_RESIZING_N, + META_GRAB_OP_RESIZING_NE, + META_GRAB_OP_RESIZING_NW, + META_GRAB_OP_RESIZING_W, + META_GRAB_OP_RESIZING_E, + META_GRAB_OP_KEYBOARD_MOVING, + META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN, + META_GRAB_OP_KEYBOARD_RESIZING_S, + META_GRAB_OP_KEYBOARD_RESIZING_N, + META_GRAB_OP_KEYBOARD_RESIZING_W, + META_GRAB_OP_KEYBOARD_RESIZING_E +} MetaGrabOp; + #endif + + + + |