summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-21 18:10:39 +0000
committerDana Jansens <danakj@orodu.net>2003-09-21 18:10:39 +0000
commit6c4126ec617ccb0dd4e6bf0e3aecaa2181172c66 (patch)
tree0263ccc1ad76f297424dfb452f3b5fef5be54a41 /openbox/event.h
parent1b75005e0d86ef8f4a80ad4f1ecda1d7c2c55048 (diff)
allow a number of enter events to be ignored. Don't just skip any enter/leave events as these are used for highlighting hover buttons and ignoring these makes the hover state out of sync sometimes
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/event.h b/openbox/event.h
index d0eeeb21..05f9e0c2 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -32,4 +32,8 @@ extern guint ScrollLockMask;
void event_startup(gboolean reconfig);
void event_shutdown(gboolean reconfig);
+/*! Request that a number of EnterNotify events not be used for distributing
+ focus */
+void event_ignore_enter_focus(guint num);
+
#endif