Skip to content

Fix X11 OpenGL contexts and mouse capture - #206

Merged
treeform merged 2 commits into
masterfrom
fix/x11-context-mouse
Nov 11, 2026
Merged

treeform merged 2 commits into
masterfrom
fix/x11-context-mouse

Conversation

@treeform

Copy link
Copy Markdown
Owner

X11 now honors openglVersion, requests a core profile for OpenGL 3.2+, and raises WindyError when the requested context is unavailable. Mouse capture now hides and confines the pointer, reports relative movement through recentering, and releases on focus loss, unmap, or close.

Validated with nim check and debug/release Linux tests using Xvfb and Mesa. Regression coverage checks actual GL profiles, unsupported versions, native grab ownership, cursor visibility, motion, and cleanup. Added the tests to Ubuntu CI.

@treeform
treeform requested a review from monofuel November 11, 2026 00:03

@monofuel monofuel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 works on my machine

@treeform
treeform merged commit 05a87fb into master Nov 11, 2026
3 checks passed
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.

2 participants