mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
The renderer-drawn min/max/close called event.preventDefault() on pointerdown to keep WSLg from stealing keyboard focus on maximize, but preventDefault on pointerdown suppresses the synthesized click under WSLg's XWayland/RAIL compositor — the buttons rendered but never fired. Switch to stopPropagation (the pattern the native titlebar tools already use), which stops the drag region from swallowing the press while leaving the click intact. Focus reassertion after maximize is already handled main-side in performWindowControl via win.focus(). |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||