]> Dogcows Code - chaz/openbox/blob - openbox/actions/lower.c
make it possible to temporarily raise a window to the top, and restore it. also...
[chaz/openbox] / openbox / actions / lower.c
1 #include "openbox/actions.h"
2 #include "openbox/stacking.h"
3 #include "openbox/window.h"
4
5 static gboolean run_func(ObActionsData *data, gpointer options);
6
7 void action_lower_startup(void)
8 {
9 actions_register("Lower",
10 NULL, NULL,
11 run_func,
12 NULL, NULL);
13 }
14
15 /* Always return FALSE because its not interactive */
16 static gboolean run_func(ObActionsData *data, gpointer options)
17 {
18 if (data->client) {
19 actions_client_move(data, TRUE);
20 stacking_lower(CLIENT_AS_WINDOW(data->client));
21 actions_client_move(data, FALSE);
22 }
23
24 return FALSE;
25 }
This page took 0.038226 seconds and 4 git commands to generate.