From d9e08487dffd010f4434d24b98a3a571b2e5a600 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 21 Sep 2003 21:26:07 +0000 Subject: 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 --- openbox/event.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbox/event.h') 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 #include +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 -- cgit v1.2.3