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
b4d99eeb
Commit
b4d99eeb
authored
Apr 06, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Apr 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Get the ScrollLock mask.
parent
751a71a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
keyboard.c
dlls/winex11.drv/keyboard.c
+6
-1
No files found.
dlls/winex11.drv/keyboard.c
View file @
b4d99eeb
...
...
@@ -87,7 +87,7 @@ static BYTE TrackSysKey = 0; /* determine whether ALT key up will cause a WM_SYS
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
NumLockMask
,
ScrollLockMask
,
AltGrMask
;
/* mask in the XKeyEvent state */
static
char
KEYBOARD_MapDeadKeysym
(
KeySym
keysym
);
...
...
@@ -1641,6 +1641,11 @@ void X11DRV_InitKeyboard( Display *display )
NumLockMask
=
1
<<
i
;
TRACE_
(
key
)(
"NumLockMask is %x
\n
"
,
NumLockMask
);
}
else
if
(
XKeycodeToKeysym
(
display
,
*
kcp
,
k
)
==
XK_Scroll_Lock
)
{
ScrollLockMask
=
1
<<
i
;
TRACE_
(
key
)(
"ScrollLockMask is %x
\n
"
,
ScrollLockMask
);
}
}
}
XFreeModifiermap
(
mmp
);
...
...
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