Commit 91fa946e authored by Martin Flöser's avatar Martin Flöser
Browse files

Fix crash in PointerInterface after PointerInterface got destroyed

Connection to lambda was not bound to this.
parent 78486bb5
......@@ -65,7 +65,7 @@ const struct wl_pointer_interface PointerInterface::Private::s_interface = {
PointerInterface::PointerInterface(SeatInterface *parent, wl_resource *parentResource)
: Resource(new Private(parent, parentResource, this), parent)
connect(parent, &SeatInterface::pointerPosChanged, [this] {
connect(parent, &SeatInterface::pointerPosChanged, this, [this] {
if (d->focusedSurface) {
const QPointF pos = d->seat->pointerPos() - d->seat->focusedPointerSurfacePosition();
Supports Markdown
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