]>
Dogcows Code - chaz/openbox/blob - openbox/actions/omnipresent.c
1 #include "openbox/actions.h"
2 #include "openbox/client.h"
3 #include "openbox/screen.h"
5 static gboolean
run_func_toggle(ObActionsData
*data
, gpointer options
);
7 void action_omnipresent_startup(void)
9 actions_register("ToggleOmnipresent", NULL
, NULL
, run_func_toggle
);
12 /* Always return FALSE because its not interactive */
13 static gboolean
run_func_toggle(ObActionsData
*data
, gpointer options
)
16 actions_client_move(data
, TRUE
);
17 client_set_desktop(data
->client
,
18 data
->client
->desktop
== DESKTOP_ALL
?
19 screen_desktop
: DESKTOP_ALL
, FALSE
, TRUE
);
20 actions_client_move(data
, FALSE
);
This page took 0.031891 seconds and 4 git commands to generate.