Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8a6e2c8e
Commit
8a6e2c8e
authored
Nov 12, 2009
by
Erich Hoover
Committed by
Alexandre Julliard
Nov 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Fix Alt+F10 sent when F10 pressed.
parent
f225f112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
user.c
programs/wineconsole/user.c
+3
-4
No files found.
programs/wineconsole/user.c
View file @
8a6e2c8e
...
...
@@ -1015,7 +1015,7 @@ static void WCUSER_HandleSelectionKey(struct inner_data* data, BOOL down,
* generates input_record from windows WM_KEYUP/WM_KEYDOWN messages
*/
static
void
WCUSER_GenerateKeyInputRecord
(
struct
inner_data
*
data
,
BOOL
down
,
WPARAM
wParam
,
LPARAM
lParam
,
BOOL
sys
)
WPARAM
wParam
,
LPARAM
lParam
)
{
INPUT_RECORD
ir
;
DWORD
n
;
...
...
@@ -1033,7 +1033,6 @@ static void WCUSER_GenerateKeyInputRecord(struct inner_data* data, BOOL down,
ir
.
Event
.
KeyEvent
.
uChar
.
UnicodeChar
=
0
;
ir
.
Event
.
KeyEvent
.
dwControlKeyState
=
WCUSER_GetCtrlKeyState
(
keyState
);
if
(
lParam
&
(
1L
<<
24
))
ir
.
Event
.
KeyEvent
.
dwControlKeyState
|=
ENHANCED_KEY
;
if
(
sys
)
ir
.
Event
.
KeyEvent
.
dwControlKeyState
|=
LEFT_ALT_PRESSED
;
/* FIXME: gotta choose one */
if
(
down
)
{
...
...
@@ -1112,11 +1111,11 @@ static LRESULT CALLBACK WCUSER_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
if
(
PRIVATE
(
data
)
->
has_selection
)
WCUSER_HandleSelectionKey
(
data
,
uMsg
==
WM_KEYDOWN
,
wParam
,
lParam
);
else
WCUSER_GenerateKeyInputRecord
(
data
,
uMsg
==
WM_KEYDOWN
,
wParam
,
lParam
,
FALSE
);
WCUSER_GenerateKeyInputRecord
(
data
,
uMsg
==
WM_KEYDOWN
,
wParam
,
lParam
);
break
;
case
WM_SYSKEYDOWN
:
case
WM_SYSKEYUP
:
WCUSER_GenerateKeyInputRecord
(
data
,
uMsg
==
WM_SYSKEYDOWN
,
wParam
,
lParam
,
TRUE
);
WCUSER_GenerateKeyInputRecord
(
data
,
uMsg
==
WM_SYSKEYDOWN
,
wParam
,
lParam
);
break
;
case
WM_LBUTTONDOWN
:
if
(
data
->
curcfg
.
quick_edit
||
PRIVATE
(
data
)
->
has_selection
)
...
...
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