]> Dogcows Code - chaz/openbox/blob - openbox/startup.c
make focus cycling work when not interactive
[chaz/openbox] / openbox / startup.c
1 #include "prop.h"
2 #include "screen.h"
3 #include "client.h"
4 #include "focus.h"
5 #include "config.h"
6 #include "openbox.h"
7
8 guint32 *startup_stack_order = NULL;
9 guint startup_stack_size = 0;
10 guint32 startup_active = None;
11 guint32 startup_desktop = 0;
12
13 void startup_save()
14 {
15 /* save the stacking order on startup! */
16 PROP_GETA32(RootWindow(ob_display, ob_screen),
17 net_client_list_stacking, window,
18 (guint32**)&startup_stack_order, &startup_stack_size);
19 PROP_GET32(RootWindow(ob_display, ob_screen),
20 net_active_window, window, &startup_active);
21 PROP_GET32(RootWindow(ob_display, ob_screen),
22 net_current_desktop, cardinal, &startup_desktop);
23 }
This page took 0.035726 seconds and 4 git commands to generate.