1 #include "openbox/actions.h"
2 #include "openbox/client.h"
4 static gboolean run_func_toggle(ObActionsData *data, gpointer options);
6 void action_fullscreen_startup()
8 actions_register("ToggleFullscreen", NULL, NULL, run_func_toggle,
12 /* Always return FALSE because its not interactive */
13 static gboolean run_func_toggle(ObActionsData *data, gpointer options)
16 actions_client_move(data, TRUE);
17 client_fullscreen(data->client, !data->client->fullscreen);
18 actions_client_move(data, FALSE);