Skip to content

Ignore modifier keys when hiding the cursor - #11

Open
r1w1s1 wants to merge 1 commit into
astier:masterfrom
r1w1s1:xhidecursor-ignore-modifiers
Open

Ignore modifier keys when hiding the cursor#11
r1w1s1 wants to merge 1 commit into
astier:masterfrom
r1w1s1:xhidecursor-ignore-modifiers

Conversation

@r1w1s1

@r1w1s1 r1w1s1 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

Do not hide the cursor when only a modifier key is pressed, such as
CTRL, SHIFT, ALT, or SUPER.

This also adds explicit X11 headers, checks for the required XInput2 and
XFixes extensions, improves display error messages, and validates generic
events before processing them.

The Makefile is unchanged. This PR is focused on cursor behavior and event
handling.

Testing

  • Built successfully with make
  • Verified that modifier keys do not hide the cursor
  • Verified that regular keys hide the cursor
  • Verified that mouse movement shows the cursor again
  • Stress-tested typing while moving the mouse

@r1w1s1 r1w1s1 changed the title Ignore modifier keys when hiding the cursor Ignore modifier keys when hiding the cursor Aug 21, 2026
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