X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=afdeac501a34a01717cfdfb3874c04f5a42aff46;hb=b5e597f1b3a810610fd63f50c55dc5a8b715744e;hp=f75d155cb9930ae19efbf9cd4a38a1664e1fecac;hpb=80117db6c4f39af1cff247de5a3eb19e2f07c21b;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index f75d155c..afdeac50 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -287,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; }; @@ -348,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); @@ -582,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). @@ -661,4 +671,6 @@ ObClient* client_under_pointer(); gboolean client_has_group_siblings(ObClient *self); +gboolean client_has_application_group_siblings(ObClient *self); + #endif