1 #include "openbox/actions.h"
2 #include "openbox/client.h"
4 static gboolean run_func(ObActionsData *data, gpointer options);
6 void action_lock_startup(void)
8 actions_register("Lock", NULL, NULL, run_func,
12 /* Always return FALSE because its not interactive */
13 static gboolean run_func(ObActionsData *data, gpointer options)
16 client_set_locked(data->client, !data->client->locked);