summaryrefslogtreecommitdiff
path: root/platform/windows/display_server_windows.h
diff options
context:
space:
mode:
authorHaSa1002 <johawitt@outlook.de>2020-04-02 16:06:04 +0200
committerHaSa1002 <johawitt@outlook.de>2020-05-16 16:17:50 +0200
commit434bf0572ce6e982a41be0d83f0869ec10a91eb2 (patch)
tree04ec8de4ec44b415f8f71c24c4f31053bf219eb3 /platform/windows/display_server_windows.h
parentac58372db824b74b8c4feb948434b924c573b847 (diff)
Fix input event being dispatched multiple times on Windows
Diffstat (limited to 'platform/windows/display_server_windows.h')
-rw-r--r--platform/windows/display_server_windows.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h
index ea08b1899f..f8606bb492 100644
--- a/platform/windows/display_server_windows.h
+++ b/platform/windows/display_server_windows.h
@@ -388,6 +388,7 @@ class DisplayServerWindows : public DisplayServer {
uint32_t last_button_state = 0;
bool use_raw_input = false;
bool drop_events = false;
+ bool in_dispatch_input_event = false;
bool console_visible = false;
WNDCLASSEXW wc;