Skip to content

fix(hot-corner): use usable monitor corners - #37

Open
inayayousfi wants to merge 1 commit into
mainfrom
fix/hot-corner-usable-area
Open

fix(hot-corner): use usable monitor corners#37
inayayousfi wants to merge 1 commit into
mainfrom
fix/hot-corner-usable-area

Conversation

@inayayousfi

Copy link
Copy Markdown
Contributor

Written by inayayousfi, typed by gpt-5.6-sol running in OpenCode.
Every call here is inayayousfi's, and no agent acted on its own.

Summary

  • Anchor Wayland hot-corner helpers to their matching screen edges so compositors can move them around panels with exclusive zones.
  • Use available monitor geometry for X11 and native cursor polling, and ignore reserved pixels outside that area.
  • Keep dwell indicators aligned with the usable corners and add regression coverage for both placement paths.

Architecture

This keeps hot-corner placement inside the existing isolated overlay controller. Runtime events, corner IDs, bindings, and window orchestration do not change.

Testing

  • .venv-windows/Scripts/python.exe -m flake8 --select=F,E9,W6 src
  • .venv-windows/Scripts/python.exe -m unittest discover -s tests (169 passed, 1 skipped)

Anchor layer-shell sensors to their actual edges so compositors can move them around exclusive zones. Use available screen geometry for X11 and native polling.

Written by inayayousfi, typed by gpt-5.6-sol running in OpenCode.
Every call here is inayayousfi's, and no agent acted on its own.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant