diff options
Diffstat (limited to 'src/include/common.h')
-rw-r--r-- | src/include/common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/common.h b/src/include/common.h index 9468d1dd..c49ad5de 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -25,9 +25,10 @@ #ifndef META_COMMON_H #define META_COMMON_H -/* Don't include GTK or core headers here */ +/* Don't include core headers here */ #include <X11/Xlib.h> #include <glib.h> +#include <gtk/gtk.h> typedef struct _MetaResizePopup MetaResizePopup; @@ -300,6 +301,15 @@ struct _MetaButtonLayout gboolean right_buttons_has_spacer[MAX_BUTTONS_PER_CORNER]; }; +typedef struct _MetaFrameBorders MetaFrameBorders; +struct _MetaFrameBorders +{ + /* The frame border is made up of two pieces - an inner visible portion + * and an outer portion that is invisible but responds to events. + */ + GtkBorder visible; +}; + /* should investigate changing these to whatever most apps use */ #define META_DEFAULT_ICON_SIZE 48 #define META_MIN_ICON_SIZE 6 |