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
8c9a6e9f
Commit
8c9a6e9f
authored
Oct 12, 2009
by
Erich Hoover
Committed by
Alexandre Julliard
Oct 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used.
parent
b74c0cc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
keyboard.c
dlls/winex11.drv/keyboard.c
+7
-5
No files found.
dlls/winex11.drv/keyboard.c
View file @
8c9a6e9f
...
...
@@ -1197,9 +1197,10 @@ void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD event_flags, DWORD
if
(
event_flags
&
KEYEVENTF_KEYUP
)
{
message
=
WM_KEYUP
;
if
((
key_state_table
[
VK_MENU
]
&
0x80
)
&&
((
wVkStripped
==
VK_MENU
)
||
(
wVkStripped
==
VK_CONTROL
)
||
!
(
key_state_table
[
VK_CONTROL
]
&
0x80
)))
if
(((
key_state_table
[
VK_MENU
]
&
0x80
)
&&
((
wVkStripped
==
VK_MENU
)
||
(
wVkStripped
==
VK_CONTROL
)
||
!
(
key_state_table
[
VK_CONTROL
]
&
0x80
)))
||
(
wVkStripped
==
VK_F10
))
{
if
(
TrackSysKey
==
VK_MENU
||
/* <ALT>-down/<ALT>-up sequence */
(
wVkStripped
!=
VK_MENU
))
/* <ALT>-down...<something else>-up */
...
...
@@ -1211,8 +1212,9 @@ void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD event_flags, DWORD
else
{
message
=
WM_KEYDOWN
;
if
((
key_state_table
[
VK_MENU
]
&
0x80
||
wVkStripped
==
VK_MENU
)
&&
!
(
key_state_table
[
VK_CONTROL
]
&
0x80
||
wVkStripped
==
VK_CONTROL
))
if
(((
key_state_table
[
VK_MENU
]
&
0x80
||
wVkStripped
==
VK_MENU
)
&&
!
(
key_state_table
[
VK_CONTROL
]
&
0x80
||
wVkStripped
==
VK_CONTROL
))
||
(
wVkStripped
==
VK_F10
))
{
message
=
WM_SYSKEYDOWN
;
TrackSysKey
=
wVkStripped
;
...
...
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