X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=40464151ee09a3b1526a7ba75f6484bef65cf5b9;hb=c03c08415f01a52584158aa4f0356f3a0d7a46aa;hp=cbb80ede6af41f0c86e9d27382f761fbf6e2caa8;hpb=adc5675823de8e3bbe94a1419b04103c6f845dad;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index cbb80ede..40464151 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -114,9 +114,6 @@ struct _ObClient /*! Normal window title */ gchar *title; - /*! The count for the title. When another window with the same title - exists, a count will be appended to it. */ - guint title_count; /*! Window title when iconified */ gchar *icon_title; @@ -358,7 +355,11 @@ gboolean client_focused(ObClient *self); @param w The width component of the new size for the client. @param h The height component of the new size for the client. @param logicalw Returns the width component of the new logical width. + This value is only returned when the new w or h calculated + differ from the ones passed in. @param logicalh Returns the height component of the new logical height. + This value is only returned when the new w or h calculated + differ from the ones passed in. @param user Specifies whether this is a user-requested change or a program requested change. For program requested changes, the constraints are not checked. @@ -457,6 +458,12 @@ void client_kill(ObClient *self); desktop has been changed. Generally this should be FALSE. */ void client_set_desktop(ObClient *self, guint target, gboolean donthide); +/*! Show the client if it should be shown. */ +void client_show(ObClient *self); + +/*! Show the client if it should be shown. */ +void client_hide(ObClient *self); + /*! Show the client if it should be shown, and hide it if it should be hidden. This is for example, when switching desktops. */ @@ -500,9 +507,8 @@ gboolean client_focus(ObClient *self); otherwise, the desktop is changed to where the client lives. @param user If true, then a user action is what requested the activation; otherwise, it means an application requested it on its own - @param timestamp The time at which the activate was requested. */ -void client_activate(ObClient *self, gboolean here, gboolean user, Time time); +void client_activate(ObClient *self, gboolean here, gboolean user); /*! Calculates the stacking layer for the client window */ void client_calc_layer(ObClient *self);