Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
54ac76a3
Commit
54ac76a3
authored
Oct 22, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: As the min keycode is always greater or equal to 8, we
don't need to scan XKeymapEvent.key_vector from 0 but from 8.
parent
d1b2282a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
keyboard.c
dlls/winex11.drv/keyboard.c
+4
-1
No files found.
dlls/winex11.drv/keyboard.c
View file @
54ac76a3
...
...
@@ -1283,7 +1283,10 @@ void X11DRV_KeymapNotify( HWND hwnd, XEvent *event )
DWORD
time
=
GetCurrentTime
();
alt
=
control
=
shift
=
0
;
for
(
i
=
0
;
i
<
32
;
i
++
)
/* the minimum keycode is always greater or equal to 8, so we can
* skip the first 8 values, hence start at 1
*/
for
(
i
=
1
;
i
<
32
;
i
++
)
{
if
(
!
event
->
xkeymap
.
key_vector
[
i
])
continue
;
for
(
j
=
0
;
j
<
8
;
j
++
)
...
...
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