From b0f43a115909a810bca9bbfa664851703bfd43e1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 22:29:39 +0000 Subject: don't focus splash screens and toolbars and menus when you click on them. or enter them. --- openbox/client.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'openbox/client.h') 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); -- cgit v1.2.3