diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-30 11:09:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-30 11:09:57 +0000 |
| commit | a87b39f6eb18b5b3674afcb3f24816d933eab319 (patch) | |
| tree | 933724a0e283576d4d52edf68126124a07f81791 /scripts | |
| parent | input: update xcursor on terminal with *keyboard* focus when modifiers change (diff) | |
wayland: track current xcursor, and don't update if same
We may have many windows open, which tries to update/change the
xcursor at various points.
Track which cursor is currently loaded, regardless of which window it
was set by. If someone tries to load that very same xcursor again,
simply skip it.
One example is when we've moused over a window that does *not* have
keyboard focus, and then the user clicks, or by some other mean gives
that window keyboard focus. In many cases it will then try to set the
same cursor again (most of the times, the cursor is the same
regardless of keyboard focus, but not always).
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
