]> Dogcows Code - chaz/openbox/blob - openbox/actions/raise.c
Add a focus option, unfocusOnLeave that removes focus from a window when the pointer...
[chaz/openbox] / openbox / actions / raise.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_raise_startup(void)
8 {
9 actions_register("Raise", NULL, NULL, run_func);
10 }
11
12 /* Always return FALSE because its not interactive */
13 static gboolean run_func(ObActionsData *data, gpointer options)
14 {
15 if (data->client) {
16 actions_client_move(data, TRUE);
17 stacking_raise(CLIENT_AS_WINDOW(data->client));
18 actions_client_move(data, FALSE);
19 }
20
21 return FALSE;
22 }
This page took 0.036307 seconds and 4 git commands to generate.