Skip to content

Conversation

@gaborpapp
Copy link
Contributor

Update mouse event handlers in CinderImGui to set modifier key states (KeyCtrl, KeyShift, KeyAlt, KeySuper) from MouseEvent. Previously these were only set during keyboard events, causing ImGui features like Ctrl+Click on sliders to not work reliably on Linux.

The fix ensures modifier states are synchronized with ImGui during all mouse events (MouseDown, MouseUp, MouseMove, MouseDrag, MouseWheel).

@andrewfb andrewfb merged commit 32169b5 into cinder:master Sep 6, 2025
2 of 8 checks passed
@andrewfb
Copy link
Collaborator

andrewfb commented Sep 6, 2025

Thanks for this, Gabor - tested this locally under Linux.

@gaborpapp gaborpapp deleted the linux-mouse-modifiers branch October 21, 2025 11:06
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