-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
mouse.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
mouse_grab_for_client(it->data, grab);
}
-static void clearall()
+void mouse_unbind_all()
{
int i;
GSList *it;
}
}
-gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact,
- ObAction *action)
+gboolean mouse_bind(const gchar *buttonstr, const gchar *contextstr,
+ ObMouseAction mact, ObAction *action)
{
guint state, button;
ObFrameContext context;
void mouse_shutdown(gboolean reconfig)
{
grab_all_clients(FALSE);
- clearall();
+ mouse_unbind_all();
}