X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=1c4a2b1fc5c4b796835dc296301fcf780da30223;hb=7f11e15bb8bdb4e6fc6cd012b0ff3c92900a7b70;hp=c3c4c8f2fb8b8305af3f2b003d3950f89f9b1f1d;hpb=50f631b9a7ba95ecf18c0d989fe8f51800b0e625;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index c3c4c8f2..1c4a2b1f 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; @@ -139,6 +136,9 @@ struct _ObClient */ Rect area; + /*! Position of the client window relative to the root window */ + Point root_pos; + /*! Position and size of the window prior to being maximized */ Rect pre_max_area; /*! Position and size of the window prior to being fullscreened */ @@ -461,6 +461,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. */ @@ -504,9 +510,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);