]> Dogcows Code - chaz/openbox/blob - openbox/actions/lower.c
3a214ea7615fe10675a8996db43507abf3dbb14b
[chaz/openbox] / openbox / actions / lower.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_lower_startup(void)
7 {
8 actions_register("Lower",
9 NULL, NULL,
10 run_func,
11 NULL, NULL);
12 }
13
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(ObActionsData *data, gpointer options)
16 {
17 if (data->client) {
18 actions_client_move(data, TRUE);
19 stacking_lower(CLIENT_AS_WINDOW(data->client));
20 actions_client_move(data, FALSE);
21 }
22
23 return FALSE;
24 }
This page took 0.031807 seconds and 3 git commands to generate.