X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.h;h=4a8d790166b601974541dcb29e4a44b9c6780fdc;hb=567fd15eebdd44e50cef140419dbf7a336708109;hp=4e6fc325726f7a97a2ece5abcafeb89baca77727;hpb=163950b23bf796a39870044417ca54d667b6b470;p=chaz%2Fopenbox diff --git a/openbox/event.h b/openbox/event.h index 4e6fc325..4a8d7901 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -40,6 +40,10 @@ void event_shutdown(gboolean reconfig); follows mouse */ void event_enter_client(struct _ObClient *client); +/*! Make as if the mouse just left the client, use only when using focus + follows mouse */ +void event_leave_client(struct _ObClient *client); + /*! Make mouse focus not move at all from the stuff that happens between these two function calls. */ gulong event_start_ignore_all_enters(void); @@ -60,7 +64,7 @@ void event_halt_focus_delay(void); /*! Compare t1 and t2, taking into account wraparound. True if t1 comes at the same time or later than t2. */ -gboolean event_time_after(Time t1, Time t2); +gboolean event_time_after(guint32 t1, guint32 t2); Time event_get_server_time(void);