summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-08 22:29:39 +0000
committerDana Jansens <danakj@orodu.net>2007-05-08 22:29:39 +0000
commitb0f43a115909a810bca9bbfa664851703bfd43e1 (patch)
tree72ee290d85e8a1f5230d788d03c4e8f4affa3dca /openbox/client.h
parent97821223393cdebd3eb3fdfcc6d0dcf7502a62d7 (diff)
don't focus splash screens and toolbars and menus when you click on them. or enter them.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 5fb26262..5c5fdb90 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -338,6 +338,16 @@ gboolean client_normal(ObClient *self);
(utilty, menu, etc) */
gboolean client_helper(ObClient *self);
+/*! Return if the client is a type which should be given focus from mouse
+ actions like button presses. This doesn't count for focus cycling, different
+ rules apply to that. */
+gboolean client_mouse_focusable(ObClient *self);
+
+/*! Return if the client is a type which should be given focus from the
+ mouse entering the window. This doesn't count for focus cycling, different
+ rules apply to that. */
+gboolean client_enter_focusable(ObClient *self);
+
/* Returns if the window is focused */
gboolean client_focused(ObClient *self);