Skip to content

windows: Send ModifiersChanged(ModifiersState::empty) on KILLFOCUS#4

Merged
murarth merged 1 commit intomurarth:modifiers-changed-window-eventfrom
rye:windows-send-empty-modifiers-when-lose-focus
Jan 22, 2020
Merged

windows: Send ModifiersChanged(ModifiersState::empty) on KILLFOCUS#4
murarth merged 1 commit intomurarth:modifiers-changed-window-eventfrom
rye:windows-send-empty-modifiers-when-lose-focus

Conversation

@rye
Copy link
Copy Markdown

@rye rye commented Jan 22, 2020

Very similar to the changes made in f79f216, as focus is lost, send an event to the window indicating that the modifiers have been released.

It's unclear to me (without a Windows device to test this on) whether this is necessary, but it certainly ensures that unfocused windows will have at least received this event, which doesn't seem unexpected.

Very similar to the changes made in [1], as focus is lost, send an event
to the window indicating that the modifiers have been released.

It's unclear to me (without a Windows device to test this on) whether
this is necessary, but it certainly ensures that unfocused windows will
have at least received this event, which is an improvement.

[1]: f79f216

Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
@murarth murarth merged commit b28fd6b into murarth:modifiers-changed-window-event Jan 22, 2020
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