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
ba807669
Commit
ba807669
authored
Jul 22, 2017
by
Ulrich Sibiller
Committed by
Mike Gabriel
Dec 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keyboard.c: Add some comments with changelog explanations
This helps understanding the intention of the following code.
parent
9566acb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
Keyboard.c
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+21
-0
No files found.
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
View file @
ba807669
...
...
@@ -909,6 +909,17 @@ XkbError:
rules
=
nxagentXkbGetRules
();
/*
from nxagent changelog:
2.0.22:
- Implemented handling of value "query" for nxagentKbtype. This value
is passed by the NX client for MacOSX. If value of nxagentKbtype is
"query" or NULL we init keyboard by core protocol functions reading
the keyboard mapping of the X server. The property _XKB_RULES_NAMES
is always set on the root window with default values of model and
layout.
*/
if
((
nxagentKeyboard
!=
NULL
)
&&
(
strcmp
(
nxagentKeyboard
,
"query"
)
!=
0
))
{
for
(
i
=
0
;
nxagentKeyboard
[
i
]
!=
'/'
&&
nxagentKeyboard
[
i
]
!=
0
;
i
++
);
...
...
@@ -1721,6 +1732,16 @@ void nxagentEnableXkbExtension(void)
}
}
/*
from nxagent-3.0.0-88 changelog:
- Fixed TR10D01539. Some XKEYBOARD requests are disabled if the option
'keyboard' has value 'query'. This locks the initial keyboard map.
Enabling/disabling of XKEYBOARD requests is done at run time.
- Added -noxkblock command line option enabling the XKEYBOARD requests
even if the option 'keyboard' value is 'query'.
*/
void
nxagentTuneXkbWrapper
(
void
)
{
if
(
nxagentOption
(
InhibitXkb
)
==
0
)
...
...
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