From 76a7748d4aa19852af87d96e2247c013e5008cd7 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 12 Aug 2016 12:14:28 +0000 Subject: [PATCH] kwin: fixup build after changes in kdelibs Signed-off-by: Ivailo Monev --- kwin/layers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kwin/layers.cpp b/kwin/layers.cpp index cc263d6f..f06205cc 100644 --- a/kwin/layers.cpp +++ b/kwin/layers.cpp @@ -203,9 +203,9 @@ void Workspace::propagateClients(bool propagate_new_clients) 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(); @@ -215,7 +215,7 @@ void Workspace::propagateClients(bool propagate_new_clients) 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()) -- 2.11.0