X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstartup.c;h=8b6259a7a0a1088edbef0089f1d3c760491f06b2;hb=d7ae443cb44248b8c7a3491a5eb6b4ea4bfd0f4d;hp=6d381ff53eb5e795ae9205aacc09087f6c2935ab;hpb=d3c094357d06f4e65681e7ca7e227a33ebd122a4;p=chaz%2Fopenbox 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); }