srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2025-10-07 22:20:00 +0200
committersrdusr <[email protected]>2025-10-07 22:20:00 +0200
commit9f07715b469a481849ee35ffa33d6dab34356c7d (patch)
tree7080f57115b9ea3ccab43e458c34aa2acec74501 /config
parent4eb36873d4ca4b0faf0e54dbeab8f5f6450dd704 (diff)
downloadsrdwm-9f07715b469a481849ee35ffa33d6dab34356c7d.tar.gz
srdwm-9f07715b469a481849ee35ffa33d6dab34356c7d.zip
Fix intermittent cursor ghosting when crossing between monitors
Live report: the real cursor sometimes leaves a brief ghost behind right after moving between monitors. The bare-metal render loop already forces a full repaint (ages = [0, 0]) on a workspace switch or any window move/ resize/open/close/restack, both added earlier for the same underlying gap: the damage tracker's own element diffing doesn't always catch a vacated region on its own. Neither reset noticed the pointer leaving one monitor for another - no window moved, no workspace changed - so that head's own vacated cursor-sized region was left entirely to the tracker's diffing, intermittently. Adds UdevState::last_cursor_head, compared each frame the same way the other two resets are; only the head the pointer just left gets forced back to ages = [0, 0] (the newly-entered head draws a genuinely new element there and diffs correctly on its own).
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions