Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
3e070809
Unverified
Commit
3e070809
authored
Jun 19, 2020
by
Rémi Verschelde
Committed by
GitHub
Jun 19, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #39427 from hcmlax/shortcut_issue_39351
fixed issue where shortcut doesn't work if alt is pressed before shift
parents
8f5fbaef
d191a8b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
display_server_windows.cpp
platform/windows/display_server_windows.cpp
+2
-2
No files found.
platform/windows/display_server_windows.cpp
View file @
3e070809
...
@@ -2565,9 +2565,9 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
...
@@ -2565,9 +2565,9 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
case
WM_KEYUP
:
case
WM_KEYUP
:
case
WM_KEYDOWN
:
{
case
WM_KEYDOWN
:
{
if
(
wParam
==
VK_SHIFT
)
if
(
wParam
==
VK_SHIFT
)
shift_mem
=
uMsg
==
WM_KEYDOWN
;
shift_mem
=
(
uMsg
==
WM_KEYDOWN
||
uMsg
==
WM_SYSKEYDOWN
)
;
if
(
wParam
==
VK_CONTROL
)
if
(
wParam
==
VK_CONTROL
)
control_mem
=
uMsg
==
WM_KEYDOWN
;
control_mem
=
(
uMsg
==
WM_KEYDOWN
||
uMsg
==
WM_SYSKEYDOWN
)
;
if
(
wParam
==
VK_MENU
)
{
if
(
wParam
==
VK_MENU
)
{
alt_mem
=
(
uMsg
==
WM_KEYDOWN
||
uMsg
==
WM_SYSKEYDOWN
);
alt_mem
=
(
uMsg
==
WM_KEYDOWN
||
uMsg
==
WM_SYSKEYDOWN
);
if
(
lParam
&
(
1
<<
24
))
if
(
lParam
&
(
1
<<
24
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment