summaryrefslogtreecommitdiff
path: root/openbox/frame.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-09 03:41:48 +0000
committerDana Jansens <danakj@orodu.net>2007-05-09 03:41:48 +0000
commit193ca2197a1276ca5a34bbf25b71df656ac964bf (patch)
treec9f29877175c9fb38080754e5016f6f065449bbd /openbox/frame.h
parent5aea44adc96555614ec1f4adb1058f4825e98009 (diff)
further work to r6205. make the disabled titlebar buttons hide if they won't move other buttons around by doing so.
Diffstat (limited to 'openbox/frame.h')
-rw-r--r--openbox/frame.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/openbox/frame.h b/openbox/frame.h
index 7be63d53..3a5dfdb2 100644
--- a/openbox/frame.h
+++ b/openbox/frame.h
@@ -114,8 +114,16 @@ struct _ObFrame
GSList *clients;
- gint width; /* title and handle */
- gint label_width;
+ gint icon_on; /* if the window icon button is on */
+ gint label_on; /* if the window title is on */
+ gint iconify_on; /* if the window iconify button is on */
+ gint desk_on; /* if the window all-desktops button is on */
+ gint shade_on; /* if the window shade button is on */
+ gint max_on; /* if the window maximize button is on */
+ gint close_on; /* if the window close button is on */
+
+ gint width; /* width of the titlebar and handle */
+ gint label_width; /* width of the label in the titlebar */
gint icon_x; /* x-position of the window icon button */
gint label_x; /* x-position of the window title */
gint iconify_x; /* x-position of the window iconify button */