summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-21 21:26:07 +0000
committerDana Jansens <danakj@orodu.net>2003-09-21 21:26:07 +0000
commitd9e08487dffd010f4434d24b98a3a571b2e5a600 (patch)
treedb459e2fff6fa5d3b830735123b848931419fa79 /openbox/event.h
parent6538a5ccb2199d518b854baa6d790387b448484e (diff)
when ending actions which can move windows, and we were using the mouse, instead of doing a focus fallback, which instantly focuses, and doesn't raise, we do an event_enter_client which simulates the act of entering the window with the pointer
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/event.h b/openbox/event.h
index e2b57ffe..341bc8d3 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -22,6 +22,8 @@
#include <X11/Xlib.h>
#include <glib.h>
+struct _ObClient;
+
/*! Time at which the last event with a timestamp occured. */
extern Time event_lasttime;
@@ -37,4 +39,8 @@ void event_shutdown(gboolean reconfig);
focus */
void event_ignore_enter_focus(guint num);
+/*! Make as if the mouse just entered the client, use only when using focus
+ follows mouse */
+void event_enter_client(struct _ObClient *client);
+
#endif