From b4fa843575f2276b521ec6507d7f213e7ddb6c67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Sep 2003 23:07:15 +0000 Subject: add client_set_undecorated(). add support for the _OB_WM_STATE_UNDECORATED state hint. --- openbox/client.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index ea480e59..12674b81 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -250,10 +250,10 @@ struct _ObClient */ guint decorations; - /*! A user option. When this is set to FALSE the client will not ever + /*! A user option. When this is set to TRUE the client will not ever be decorated. */ - gboolean decorate; + gboolean undecorated; /*! A bitmask of values in the ObFunctions enum The values in the variable specify the ways in which the user is allowed @@ -520,6 +520,9 @@ int client_directional_edge_search(ObClient *c, ObDirection dir); */ void client_set_layer(ObClient *self, int layer); +/*! Set a client window to have decorations or not */ +void client_set_undecorated(ObClient *self, gboolean undecorated); + guint client_monitor(ObClient *self); void client_update_sm_client_id(ObClient *self); -- cgit v1.2.3