From: Dana Jansens Date: Sun, 11 May 2003 23:34:27 +0000 (+0000) Subject: was using the frame window in the stacking list hint X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ea6b9cafe94672bd1798e04e6962eb8ae9d2b8ac;p=chaz%2Fopenbox was using the frame window in the stacking list hint --- diff --git a/openbox/stacking.c b/openbox/stacking.c index 497450fe..0dda3a00 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -28,7 +28,7 @@ void stacking_set_list() for (it = g_list_last(stacking_list); it != NULL; it = it->prev) if (WINDOW_IS_CLIENT(it->data)) { - *win_it = window_top(it->data); + *win_it = WINDOW_AS_CLIENT(it->data)->window; ++win_it; } } else @@ -37,16 +37,6 @@ void stacking_set_list() PROP_SETA32(ob_root, net_client_list_stacking, window, (guint32*)windows, win_it - windows); - g_print("Client list:"); - for (it = client_list; it; it = it->next) - g_print("0x%lx ", ((Client*)it->data)->window); - g_print("\n"); - g_print("Stacking order: "); - for (it = stacking_list; it; it = it->next) - if (WINDOW_IS_CLIENT(it->data)) - g_print("0x%lx ", ((Client*)it->data)->window); - g_print("\n"); - if (windows) g_free(windows); }