]> Dogcows Code - chaz/openbox/commitdiff
was using the frame window in the stacking list hint
authorDana Jansens <danakj@orodu.net>
Sun, 11 May 2003 23:34:27 +0000 (23:34 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 11 May 2003 23:34:27 +0000 (23:34 +0000)
openbox/stacking.c

index 497450feeda735a7bab3a81b8e53afc8b7ac5a47..0dda3a007df05b4d51c44602bdc52e2729c5ac88 100644 (file)
@@ -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);
 }
This page took 0.025674 seconds and 4 git commands to generate.