Fix crash in PointerInterface after PointerInterface got destroyed
Connection to lambda was not bound to this.
This commit is contained in:
parent
78486bb506
commit
91fa946e30
1 changed files with 1 additions and 1 deletions
|
@ -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] {
|
||||
Q_D();
|
||||
if (d->focusedSurface) {
|
||||
const QPointF pos = d->seat->pointerPos() - d->seat->focusedPointerSurfacePosition();
|
||||
|
|
Loading…
Reference in a new issue