From 0353b979c66bc07432296d80acc61b6bbef5f623 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 May 2007 05:39:16 +0000 Subject: construct the titlebar without borders --- openbox/frame.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'openbox/frame.h') diff --git a/openbox/frame.h b/openbox/frame.h index 0cce4068..cf7c7e20 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -100,13 +100,22 @@ struct _ObFrame Window lgrip; Window rgrip; + /* These are borders of the frame and its elements */ + Window titleleft; + Window titletop; + Window titletopleft; + Window titletopright; + Window titleright; + Window titlebottom; + Window leftresize; + Window rightresize; + + /* These are resize handles inside the titlebar */ Window topresize; Window tltresize; Window tllresize; Window trtresize; Window trrresize; - Window leftresize; - Window rightresize; Colormap colormap; @@ -138,7 +147,7 @@ struct _ObFrame gint max_x; /* x-position of the window maximize button */ gint close_x; /* x-position of the window close button */ gint bwidth; /* border width */ - gint rbwidth; /* title border width */ + gint rbwidth; /* border width between the title and client */ gint cbwidth_x; /* client border width */ gint cbwidth_y; /* client border width */ -- cgit v1.2.3