X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=94bcf38c789b688cb214029057a175ddfb1c0773;hb=d1913d1d015efae0687f3703ca846f1ace42ded2;hp=6df13cb687b08de8fea89180210977f1f4939d6e;hpb=8fb10d8d8705b37cacbcada71821fbf5dc750eb9;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index 6df13cb6..94bcf38c 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -100,7 +100,8 @@ typedef enum { /*! Display a button to toggle the window's placement on all desktops */ Decor_AllDesktops = 1 << 6, - Decor_Close = 1 << 7 /*!< Display a close button */ + Decor_Shade = 1 << 7, /*!< Displays a shade button */ + Decor_Close = 1 << 8 /*!< Display a close button */ } Decoration; @@ -284,7 +285,7 @@ typedef struct Client { Pixmap pixmap_icon_mask; } Client; -extern GSList *client_list; +extern GList *client_list; extern GHashTable *client_map; void client_startup(); @@ -445,12 +446,6 @@ void client_update_icons(Client *self); /*! Updates the window's kwm icon */ void client_update_kwm_icon(Client *self); -/* Disable decorations on the client. - @param flags A mask of Decoration enum values which will be disabled on the - client if they would normally have been displayed. -*/ -void client_disable_decorations(Client *self, int flags); - /*! Set up what decor should be shown on the window and what functions should be allowed (Client::decorations and Client::functions). This also updates the NET_WM_ALLOWED_ACTIONS hint.