diff --git a/src/surfaceitem_wayland.cpp b/src/surfaceitem_wayland.cpp index fdfbd4286d..9689d85a4f 100644 --- a/src/surfaceitem_wayland.cpp +++ b/src/surfaceitem_wayland.cpp @@ -199,6 +199,8 @@ void SurfacePixmapWayland::setBuffer(KWaylandServer::BufferInterface *buffer) SurfaceItemXwayland::SurfaceItemXwayland(Scene::Window *window, Item *parent) : SurfaceItemWayland(window->window()->surface(), window, parent) { + const Toplevel *toplevel = window->window(); + connect(toplevel, &Toplevel::geometryShapeChanged, this, &SurfaceItemXwayland::discardQuads); } QRegion SurfaceItemXwayland::shape() const