Commit 548626bb authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Use QVector in paintGenericScreen

Given that QList<T> will allocate items on the heap when sizeof(T) is
bigger than sizeof(void *), which is the case for Phase2Data, use
QVector instead.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 4fa98b32
......@@ -206,7 +206,7 @@ void Scene::paintGenericScreen(int orig_mask, ScreenPaintData)
QList< Phase2Data > phase2;
QVector<Phase2Data> phase2;
foreach (Window * w, stacking_order) { // bottom to top
Toplevel* topw = w->window();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment