Skip to content
Commit 4b7614f0 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix a warning about null sender in QObject::connect()

The original assumption was that once PointerInputRedirection starts
pushing cursor sources to cursors, they cannot be null. In many cases,
it is true, but the tests are a bit special as many of them lack
wl_pointer.set_cursor requests, so it's possible to set a null source.
As an example, when the pointer moves from the decoration to the
surface. On the other hand, it also does make sense to allow having
no source connected.


(cherry picked from commit 55ef6964)
parent 7f453549
Pipeline #606442 passed with stage
in 16 minutes and 43 seconds
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