From 193ca2197a1276ca5a34bbf25b71df656ac964bf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 03:41:48 +0000 Subject: further work to r6205. make the disabled titlebar buttons hide if they won't move other buttons around by doing so. --- openbox/frame.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'openbox/frame.h') 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 */ -- cgit v1.2.3