]> icculus.org git repositories - dana/openbox.git/blob - openbox/actions/raiselower.c
Add include of cairo.h when using librsvg
[dana/openbox.git] / 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 }