X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=04849b632e89fbb3b08593e6287c0076e702e0d2;hb=19b480058e869a588ea20be5e29017ae2052e967;hp=a5011cb6bfbe60f329afaf87ccacfff0c310aae4;hpb=f6265e82e6b195d9f817f3e794456bce54c7c8b6;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index a5011cb6..04849b63 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -269,6 +269,8 @@ struct _ObClient ObClientIcon *icons; /*! The number of icons in icons */ guint nicons; + + guint32 user_time; }; struct _ObAppSettings @@ -482,8 +484,10 @@ void client_unfocus(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); +void client_activate(ObClient *self, gboolean here, gboolean user, + Time timestamp); /*! Calculates the stacking layer for the client window */ void client_calc_layer(ObClient *self); @@ -530,6 +534,8 @@ void client_update_class(ObClient *self); void client_update_strut(ObClient *self); /*! Updates the window's icons */ void client_update_icons(ObClient *self); +/*! Updates the window's user time */ +void client_update_user_time(ObClient *self, gboolean new_event); /*! Set up what decor should be shown on the window and what functions should be allowed (ObClient::decorations and ObClient::functions).