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
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);
}