Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
3042c506
Commit
3042c506
authored
Mar 13, 2017
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keystroke.c: add missing Mod5 modifier
parent
57081e55
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
README.keystrokes
doc/nxagent/README.keystrokes
+1
-1
Keystroke.c
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+1
-0
No files found.
doc/nxagent/README.keystrokes
View file @
3042c506
...
@@ -52,7 +52,7 @@ XStringToKeysym function. A list of possible keys can be found in
...
@@ -52,7 +52,7 @@ XStringToKeysym function. A list of possible keys can be found in
'Space' and 'escape' won't.
'Space' and 'escape' won't.
Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2,
Modifiers are given as boolean attributes, possible modifiers are Mod1, Mod2,
Mod3, Mod4, Control, Shift, Lock. Sensible combinations strongly depend on your
Mod3, Mod4,
Mod5,
Control, Shift, Lock. Sensible combinations strongly depend on your
keyboard configuration, but usually you will need Mod1 and Control. Boolean in
keyboard configuration, but usually you will need Mod1 and Control. Boolean in
this context means '0', 'false' and an unspecified attribute are false, anything
this context means '0', 'false' and an unspecified attribute are false, anything
else is considered true.
else is considered true.
...
...
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
View file @
3042c506
...
@@ -219,6 +219,7 @@ static Bool read_binding_from_xmlnode(xmlNode *node, struct nxagentSpecialKeystr
...
@@ -219,6 +219,7 @@ static Bool read_binding_from_xmlnode(xmlNode *node, struct nxagentSpecialKeystr
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod2"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod2Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod2"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod2Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod3"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod3Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod3"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod3Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod4"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod4Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod4"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod4Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Mod5"
)
==
0
)
{
newkm
.
modifierMask
|=
Mod5Mask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Control"
)
==
0
)
{
newkm
.
modifierMask
|=
ControlMask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Control"
)
==
0
)
{
newkm
.
modifierMask
|=
ControlMask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Shift"
)
==
0
)
{
newkm
.
modifierMask
|=
ShiftMask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Shift"
)
==
0
)
{
newkm
.
modifierMask
|=
ShiftMask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Lock"
)
==
0
)
{
newkm
.
modifierMask
|=
LockMask
;
}
else
if
(
strcmp
((
char
*
)
attr
->
name
,
"Lock"
)
==
0
)
{
newkm
.
modifierMask
|=
LockMask
;
}
...
...
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