summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-18 19:45:30 +0100
committerGitHub <noreply@github.com>2022-03-18 19:45:30 +0100
commit02f61d9fb3523f5e04adfa39ba6a62fb2e2e2fe7 (patch)
treed68b4e390eb29c46a28b9ea82ccf75dc32c8c557 /platform/windows
parentef24e95f4ae445ec427832f9d23e47c7b1cf5d76 (diff)
parent8bbc7614f69e092c4f1f71af1e207082878edd05 (diff)
Merge pull request #59287 from Vitika9/59181
Right-clicking will not close popup in windows
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/display_server_windows.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp
index d09ca52099..d243d4c05d 100644
--- a/platform/windows/display_server_windows.cpp
+++ b/platform/windows/display_server_windows.cpp
@@ -2120,7 +2120,6 @@ LRESULT DisplayServerWindows::MouseProc(int code, WPARAM wParam, LPARAM lParam)
case WM_NCRBUTTONDOWN:
case WM_NCMBUTTONDOWN:
case WM_LBUTTONDOWN:
- case WM_RBUTTONDOWN:
case WM_MBUTTONDOWN: {
MOUSEHOOKSTRUCT *ms = (MOUSEHOOKSTRUCT *)lParam;
Point2i pos = Point2i(ms->pt.x, ms->pt.y);