X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=openbox%2Fclient.h;h=afdeac501a34a01717cfdfb3874c04f5a42aff46;hb=2b658f3d9bbb78ed3904edb44826b27380e80a1a;hp=5847c67f6cfd7b98fa8e88019e9c904bd69caa00;hpb=55d2916c1e24e021d9b9692d2373dc4afff4c5c2;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index 5847c67f..afdeac50 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -258,6 +258,9 @@ struct _ObClient /*! Demands attention flag */ gboolean demands_attention; + /*! The urgent flag */ + gboolean urgent; + /*! The layer in which the window will be stacked, windows in lower layers are always below windows in higher layers. */ ObStackingLayer layer; @@ -284,6 +287,9 @@ struct _ObClient /*! The number of icons in icons */ guint nicons; + /* Where the window should iconify to/from */ + Rect icon_geometry; + guint32 user_time; }; @@ -345,6 +351,11 @@ gboolean client_should_show(ObClient *self); to them in a number of places regarding focus or user interaction. */ gboolean client_normal(ObClient *self); +/*! Returns if the window is one of an application's main windows (normal or + dialog type) rather than an accessory window (utilty, menu, etc) or a + non-normal window */ +gboolean client_application(ObClient *self); + /* Returns if the window is focused */ gboolean client_focused(ObClient *self); @@ -579,6 +590,8 @@ void client_update_strut(ObClient *self); void client_update_icons(ObClient *self); /*! Updates the window's user time */ void client_update_user_time(ObClient *self); +/*! Updates the window's icon geometry (where to iconify to/from) */ +void client_update_icon_geometry(ObClient *self); /*! Set up what decor should be shown on the window and what functions should be allowed (ObClient::decorations and ObClient::functions). @@ -658,4 +671,6 @@ ObClient* client_under_pointer(); gboolean client_has_group_siblings(ObClient *self); +gboolean client_has_application_group_siblings(ObClient *self); + #endif