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
fac3dc60
Commit
fac3dc60
authored
Nov 17, 2006
by
Ken Thomases
Committed by
Alexandre Julliard
Nov 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Move some dead code from inside a loop to just after the loop.
parent
0dee5eb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
keyboard.c
dlls/winex11.drv/keyboard.c
+9
-8
No files found.
dlls/winex11.drv/keyboard.c
View file @
fac3dc60
...
...
@@ -1664,6 +1664,15 @@ void X11DRV_InitKeyboard(void)
vkey
=
(
*
lvkey
)[
maxval
];
}
}
}
TRACE
(
"keycode %04x => vkey %04x
\n
"
,
e2
.
keycode
,
vkey
);
keyc2vkey
[
e2
.
keycode
]
=
vkey
;
keyc2scan
[
e2
.
keycode
]
=
scan
;
if
((
vkey
&
0xff
)
&&
vkey_used
[(
vkey
&
0xff
)])
WARN
(
"vkey %04x is being used by more than one keycode
\n
"
,
vkey
);
vkey_used
[(
vkey
&
0xff
)]
=
1
;
}
/* for */
#if 0 /* this breaks VK_OEM_x VKeys in some layout tables by inserting
* a VK code into a not appropriate place.
*/
...
...
@@ -1729,14 +1738,6 @@ void X11DRV_InitKeyboard(void)
}
}
#endif
}
TRACE
(
"keycode %04x => vkey %04x
\n
"
,
e2
.
keycode
,
vkey
);
keyc2vkey
[
e2
.
keycode
]
=
vkey
;
keyc2scan
[
e2
.
keycode
]
=
scan
;
if
((
vkey
&
0xff
)
&&
vkey_used
[(
vkey
&
0xff
)])
WARN
(
"vkey %04x is being used by more than one keycode
\n
"
,
vkey
);
vkey_used
[(
vkey
&
0xff
)]
=
1
;
}
/* for */
/* If some keys still lack scancodes, assign some arbitrary ones to them now */
for
(
scan
=
0x60
,
keyc
=
min_keycode
;
keyc
<=
max_keycode
;
keyc
++
)
...
...
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