diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-01-28 19:29:55 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-01-28 19:29:55 +0200 |
commit | 4e9843d9bd3743352750ad6b1aead1a7d2a4c7bf (patch) | |
tree | 96dc12ac88db1c9b1a0185b493a56d0ad2dfe65b /src/include | |
parent | 8f7609666f1eb40c02182df219123ed69aec1845 (diff) | |
download | metacity-4e9843d9bd3743352750ad6b1aead1a7d2a4c7bf.tar.gz |
move MetaButtonLayout to libmetacity
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/common.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/include/common.h b/src/include/common.h index 9343b8ee..1c117d3c 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -30,7 +30,7 @@ #include <X11/Xlib.h> #include <glib.h> #include <gtk/gtk.h> -#include <libmetacity/meta-button-function.h> +#include <libmetacity/meta-button-layout.h> typedef struct _MetaResizePopup MetaResizePopup; @@ -231,18 +231,6 @@ typedef enum #define MAX_BUTTONS_PER_CORNER META_BUTTON_FUNCTION_LAST -typedef struct _MetaButtonLayout MetaButtonLayout; -struct _MetaButtonLayout -{ - /* buttons in the group on the left side */ - MetaButtonFunction left_buttons[MAX_BUTTONS_PER_CORNER]; - gboolean left_buttons_has_spacer[MAX_BUTTONS_PER_CORNER]; - - /* buttons in the group on the right side */ - MetaButtonFunction right_buttons[MAX_BUTTONS_PER_CORNER]; - gboolean right_buttons_has_spacer[MAX_BUTTONS_PER_CORNER]; -}; - /* should investigate changing these to whatever most apps use */ #define META_ICON_WIDTH 96 #define META_ICON_HEIGHT 96 |