summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-03 20:57:40 +0000
committerDana Jansens <danakj@orodu.net>2007-05-03 20:57:40 +0000
commit5784f11132cb2ee64af23695867aca9f4ebe0b9b (patch)
treef93bd596e60848e55c31075ef2c04551c6174cb0 /openbox/client.h
parente0e1d4ba7e150b215b55029ddbff3c824b94caf7 (diff)
add the notion of "application windows" meaning normal or dialog type windows.
let you alt-tab to non-application windows when they dont have an application window in their group
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index f75d155c..1273a687 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -348,6 +348,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);
@@ -661,4 +666,6 @@ ObClient* client_under_pointer();
gboolean client_has_group_siblings(ObClient *self);
+gboolean client_has_application_group_siblings(ObClient *self);
+
#endif