X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.h;h=4a8d790166b601974541dcb29e4a44b9c6780fdc;hb=73575c10ce3ede1637e4f959b56e1f7d5f110b91;hp=ba5a03ea15cfdee8f52fa6f66b4b3113dfd17177;hpb=37705f444eecabb2e5bd31e92bc8b82ae9b8b596;p=chaz%2Fopenbox diff --git a/openbox/event.h b/openbox/event.h index ba5a03ea..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,12 +64,8 @@ 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); -/*! Given a possible target client, returns what the target client really - should be for actions */ -struct _ObClient* event_target_client(struct _ObClient *client); - #endif