X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=e575a35aa016ef72fd3619146206058336648ba9;hb=e442c6cc56813ac2d80ddf956603b6d0123d8145;hp=0f9eaa4b2c4df9da37855d41b989e01baf6ab68a;hpb=f8a47de5ec444c452093371e3db16857eb39a490;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index 0f9eaa4b..e575a35a 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -6,7 +6,6 @@ #include #include -struct ClientWrap; struct Frame; @@ -279,9 +278,6 @@ typedef struct Client { Pixmap pixmap_icon; /*! The mask for the pixmap_icon, or None if its not masked */ Pixmap pixmap_icon_mask; - - /* The instance of the wrapper class if one exists */ - struct ClientWrap *wrap; } Client; extern GSList *client_list; @@ -307,9 +303,10 @@ void client_set_list(); surroundings (struts, etc). */ void client_remaximize(Client *self); -/*! Shows the window if it should be shown, or hides it - Used when changing desktops, the window's state, etc. */ -void client_showhide(Client *self, gboolean firehook); +/*! Determines if the client should be shown or hidden currently. + @return TRUE if it should be visible; otherwise, FALSE. +*/ +gboolean client_should_show(Client *self); /*! Returns if the window should be treated as a normal window. Some windows (desktops, docks, splash screens) have special rules applied @@ -375,7 +372,7 @@ void client_shade(Client *self, gboolean shade); void client_close(Client *self); /*! Sends the window to the specified desktop */ -void client_set_desktop(Client *self, unsigned int target); +void client_set_desktop(Client *self, guint target); /*! Return a modal child of the client window @return A modal child of the client window, or 0 if none was found.