X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=openbox%2Fmouse.h;h=de4c0eca05637bf101bc349c8104ea0bb1e0147d;hp=a862fe5b4a5f8ee9a0a552feb34b704db4bad967;hb=HEAD;hpb=3167fc223ea82851ae954b348a5ff1c0ce6b6d79 diff --git a/openbox/mouse.h b/openbox/mouse.h index a862fe5b..de4c0eca 100644 --- a/openbox/mouse.h +++ b/openbox/mouse.h @@ -29,11 +29,11 @@ struct _ObActionsAct; void mouse_startup(gboolean reconfig); void mouse_shutdown(gboolean reconfig); -gboolean mouse_bind(const gchar *buttonstr, const gchar *contextstr, +gboolean mouse_bind(const gchar *buttonstr, ObFrameContext context, ObMouseAction mact, struct _ObActionsAct *action); -void mouse_unbind_all(); +void mouse_unbind_all(void); -void mouse_event(struct _ObClient *client, XEvent *e); +gboolean mouse_event(struct _ObClient *client, XEvent *e); void mouse_grab_for_client(struct _ObClient *client, gboolean grab); @@ -43,6 +43,6 @@ ObFrameContext mouse_button_frame_context(ObFrameContext context, /*! If a replay pointer is needed, then do it. Call this when windows are going to be moving/appearing/disappearing, so that you know the mouse click will go to the right window */ -void mouse_replay_pointer(); +void mouse_replay_pointer(void); #endif