Merge pull request #59287 from Vitika9/59181

Right-clicking will not close popup in windows
This commit is contained in:
Rémi Verschelde 2022-03-18 19:45:30 +01:00 committed by GitHub
commit 02f61d9fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);