summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorVitika9 <vitika.program@gmail.com>2022-03-18 22:13:54 +0530
committerVitika9 <vitika.program@gmail.com>2022-03-18 22:13:54 +0530
commit8bbc7614f69e092c4f1f71af1e207082878edd05 (patch)
treeaff68cb970768acdf7e49d1bb94081b9a9598d01 /platform
parent178961a6dc14155c0e65ec0040a2b2b328550317 (diff)
Right-clicking will not close popup
Diffstat (limited to 'platform')
-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);