was using the frame window in the stacking list hint

This commit is contained in:
Dana Jansens 2003-05-11 23:34:27 +00:00
parent 7c7868f47d
commit ea6b9cafe9

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