diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:01:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 19:01:41 +0000 |
| commit | 35418ca0fcd3fd28ef579f4435b8bad3b7c87f04 (patch) | |
| tree | 07182e5626a01baf752ec13a57d7ab3eabe8f967 /openbox/startup.c | |
| parent | ec908528cf2abad9d2b968db9c8f7287ef5f54fe (diff) | |
remove the ob_root var, its redundant of what Xlib already provides
Diffstat (limited to 'openbox/startup.c')
| -rw-r--r-- | openbox/startup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/openbox/startup.c b/openbox/startup.c index 6d381ff5..8b6259a7 100644 --- a/openbox/startup.c +++ b/openbox/startup.c @@ -13,8 +13,11 @@ guint32 startup_desktop = 0; void startup_save() { /* save the stacking order on startup! */ - PROP_GETA32(ob_root, net_client_list_stacking, window, + PROP_GETA32(RootWindow(ob_display, ob_screen), + net_client_list_stacking, window, (guint32**)&startup_stack_order, &startup_stack_size); - PROP_GET32(ob_root, net_active_window, window, &startup_active); - PROP_GET32(ob_root, net_current_desktop, cardinal, &startup_desktop); + PROP_GET32(RootWindow(ob_display, ob_screen), + net_active_window, window, &startup_active); + PROP_GET32(RootWindow(ob_display, ob_screen), + net_current_desktop, cardinal, &startup_desktop); } |
