Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
Alchemy Next
Commits
3efe88a1
Commit
3efe88a1
authored
Sep 06, 2021
by
Rye Mutt
🍞
Browse files
Merge branch 'linux_numpad_enter_fix2' into 'master'
Fix numpad Enter on Linux See merge request
!43
parents
0220a7fe
dad36c34
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/llwindow/llwindowsdl.cpp
View file @
3efe88a1
...
...
@@ -1878,8 +1878,8 @@ void LLWindowSDL::gatherInput()
mKeyModifiers
=
(
SDL_Keymod
)
event
.
key
.
keysym
.
mod
;
gKeyboard
->
handleKeyDown
(
mKeyVirtualKey
,
mKeyModifiers
);
if
(
mKeyVirtualKey
==
SDLK_RETURN
)
handleUnicodeUTF16
(
mKeyVirtualKey
,
gKeyboard
->
currentMask
(
FALSE
));
if
(
mKeyVirtualKey
==
SDLK_RETURN
||
mKeyVirtualKey
==
SDLK_KP_ENTER
)
handleUnicodeUTF16
(
SDLK_RETURN
,
gKeyboard
->
currentMask
(
FALSE
));
// part of the fix for SL-13243
if
(
SDLCheckGrabbyKeys
(
event
.
key
.
keysym
.
sym
,
TRUE
)
!=
0
)
SDLReallyCaptureInput
(
TRUE
);
...
...
Write
Preview
Supports
Markdown
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