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
1efd4c02
Commit
1efd4c02
authored
Nov 12, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Get rid of unused variables.
parent
f58d9a94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
keyboard.c
dlls/winex11.drv/keyboard.c
+0
-8
No files found.
dlls/winex11.drv/keyboard.c
View file @
1efd4c02
...
...
@@ -89,7 +89,6 @@ static int min_keycode, max_keycode, keysyms_per_keycode;
static
WORD
keyc2vkey
[
256
],
keyc2scan
[
256
];
static
int
NumLockMask
,
AltGrMask
;
/* mask in the XKeyEvent state */
static
int
kcControl
,
kcAlt
,
kcShift
,
kcNumLock
,
kcCapsLock
;
/* keycodes */
static
char
KEYBOARD_MapDeadKeysym
(
KeySym
keysym
);
...
...
@@ -1807,13 +1806,6 @@ void X11DRV_InitKeyboard(void)
keyc2scan
[
keyc
]
=
scan
++
;
}
/* Now store one keycode for each modifier. Used to simulate keypresses. */
kcControl
=
XKeysymToKeycode
(
display
,
XK_Control_L
);
kcAlt
=
XKeysymToKeycode
(
display
,
XK_Alt_L
);
if
(
!
kcAlt
)
kcAlt
=
XKeysymToKeycode
(
display
,
XK_Meta_L
);
kcShift
=
XKeysymToKeycode
(
display
,
XK_Shift_L
);
kcNumLock
=
XKeysymToKeycode
(
display
,
XK_Num_Lock
);
kcCapsLock
=
XKeysymToKeycode
(
display
,
XK_Caps_Lock
);
wine_tsx11_unlock
();
}
...
...
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