diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-21 21:26:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-21 21:26:07 +0000 |
| commit | d9e08487dffd010f4434d24b98a3a571b2e5a600 (patch) | |
| tree | db459e2fff6fa5d3b830735123b848931419fa79 /openbox/event.h | |
| parent | 6538a5ccb2199d518b854baa6d790387b448484e (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.h | 6 |
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 |
