]> Dogcows Code - chaz/openbox/blob - openbox/actions/raiselower.c
Fix bug #4877 (Some harmless code quirks involving booleans)
[chaz/openbox] / openbox / actions / raiselower.c
1 #include "openbox/actions.h"
2 #include "openbox/stacking.h"
3
4 static gboolean run_func(ObActionsData *data, gpointer options);
5
6 void action_raiselower_startup(void)
7 {
8 actions_register("RaiseLower", NULL, NULL, run_func);
9 }
10
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionsData *data, gpointer options)
13 {
14 if (data->client) {
15 actions_client_move(data, TRUE);
16 stacking_restack_request(data->client, NULL, Opposite);
17 actions_client_move(data, FALSE);
18 }
19
20 return FALSE;
21 }
This page took 0.035549 seconds and 4 git commands to generate.