Skip to content

Commit

Permalink
Fixed leaking of unmapped mouse input on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed Aug 24, 2024
1 parent 6693953 commit 1d6d28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/windows/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ namespace {

bool translate_mouse_input(WPARAM wparam, const MSLLHOOKSTRUCT& ms) {
const auto injected = (ms.dwExtraInfo == injected_ident);
if (injected || g_state.sending_key())
if (injected)
return false;

const auto input = get_button_event(wparam, ms);
Expand Down

0 comments on commit 1d6d28b

Please sign in to comment.