Xcb::restackWindows(newWindowStack);
int pos = 0;
- xcb_window_t *cl(NULL);
+ Window *cl(NULL);
if (propagate_new_clients) {
- cl = new xcb_window_t[ desktops.count() + clients.count()];
+ cl = new Window[ desktops.count() + clients.count()];
// TODO this is still not completely in the map order
for (ClientList::ConstIterator it = desktops.constBegin(); it != desktops.constEnd(); ++it)
cl[pos++] = (*it)->window();
delete [] cl;
}
- cl = new xcb_window_t[ stacking_order.count()];
+ cl = new Window[ stacking_order.count()];
pos = 0;
for (ToplevelList::ConstIterator it = stacking_order.constBegin(); it != stacking_order.constEnd(); ++it) {
if ((*it)->isClient())