srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2024-08-08 23:56:00 +0200
committersrdusr <[email protected]>2024-08-08 23:56:00 +0200
commit52b0b8927fa56f42ad6b39fb45bbed5a2d392dce (patch)
treed72e8a090c28e828c7e3980a9b0e69b31ebfc262 /docs
parentb0a6b67cbfb080ee44b6a6fa005dd63ab0f93cd8 (diff)
downloadsrdwm-52b0b8927fa56f42ad6b39fb45bbed5a2d392dce.tar.gz
srdwm-52b0b8927fa56f42ad6b39fb45bbed5a2d392dce.zip
Fix clicks landing on a window hidden on another workspace
WindowManager::hit_test/window_at filtered only by `!w.minimized`, never by workspace - but a window on a workspace that isn't current is not minimized, it's just not shown. Rendering (visible_windows/ visible_windows_front_to_back) already restricted to the current workspace; hit-testing didn't, so a click landing on where an invisible window's stale on-screen geometry happened to sit routed to that window instead of whatever was actually visible underneath. Reported live. Fixed by adding the same workspace check rendering already uses, plus a regression test with two identically-positioned windows on different workspaces.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions