diff options
author | rhp <rhp> | 2001-06-23 05:49:35 +0000 |
---|---|---|
committer | rhp <rhp> | 2001-06-23 05:49:35 +0000 |
commit | bf64e719a1fea9e99b737b11771a41272c2e881e (patch) | |
tree | f2536630b810b36d7905f78a4720523df8c7b328 /src/common.h | |
parent | 7ecf21af703d22f2975d7926e71fb453176e4271 (diff) | |
download | metacity-bf64e719a1fea9e99b737b11771a41272c2e881e.tar.gz |
...
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 8ac4ea89..10f6bd17 100644 --- a/src/common.h +++ b/src/common.h @@ -24,6 +24,7 @@ /* Don't include GTK or core headers here */ #include <X11/Xlib.h> +#include <glib.h> typedef enum { @@ -39,4 +40,26 @@ typedef enum META_FRAME_MAXIMIZED = 1 << 9 } MetaFrameFlags; +typedef enum +{ + META_MENU_OP_DELETE = 1 << 0, + META_MENU_OP_MINIMIZE = 1 << 1, + META_MENU_OP_UNMAXIMIZE = 1 << 2, + META_MENU_OP_MAXIMIZE = 1 << 3, + META_MENU_OP_UNSHADE = 1 << 4, + META_MENU_OP_SHADE = 1 << 5, + META_MENU_OP_UNSTICK = 1 << 6, + META_MENU_OP_STICK = 1 << 7, + META_MENU_OP_WORKSPACES = 1 << 8 +} MetaMenuOp; + +typedef struct _MetaWindowMenu MetaWindowMenu; + +typedef void (* MetaWindowMenuFunc) (MetaWindowMenu *menu, + Display *xdisplay, + Window client_xwindow, + MetaMenuOp op, + int workspace, + gpointer data); + #endif |