]> Dogcows Code - chaz/openbox/blob - openbox/startup.c
set the required properties so that session managers see openbox
[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(ob_root, net_client_list_stacking, window,
17 (guint32**)&startup_stack_order, &startup_stack_size);
18 PROP_GET32(ob_root, net_active_window, window, &startup_active);
19 PROP_GET32(ob_root, net_current_desktop, cardinal, &startup_desktop);
20 }
This page took 0.033159 seconds and 4 git commands to generate.