diff options
author | John Lindgren <john@jlindgren.net> | 2022-09-20 14:51:39 -0400 |
---|---|---|
committer | John Lindgren <john@jlindgren.net> | 2022-09-21 14:25:09 -0400 |
commit | 68c8cef38edafa5e52532e0b43a4888554168361 (patch) | |
tree | 963b65f5c894af1af75568e3c1f99ca47bb4b762 /backend/libinput | |
parent | 5417a182e535da11348b87102cd5964d2fc476d0 (diff) |
cursor: Don't warp to (0,0) when last output is disconnected
There doesn't appear to be any good reason to warp the cursor to
the top-left corner when all outputs are disconnected; it's no more
valid than any other (x,y) point in that case.
The real-world case here is a user with a single external monitor
turning it off (which apparently counts as disconnected depending
on the connection type/hardware). For that user, it's desirable to
have the cursor remain in its original location when the monitor
is turned back on.
Diffstat (limited to 'backend/libinput')
0 files changed, 0 insertions, 0 deletions