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
3c4a8da1
Commit
3c4a8da1
authored
Dec 02, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Dec 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keyboard.c: use 'variant' all over the place
avoid mix of 'variant' and 'variants'
parent
d0d6c1bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Keyboard.c
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+4
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
View file @
3c4a8da1
...
@@ -746,7 +746,7 @@ XkbError:
...
@@ -746,7 +746,7 @@ XkbError:
#ifdef XKB
#ifdef XKB
}
else
{
/* if (noXkbExtension) */
}
else
{
/* if (noXkbExtension) */
XkbComponentNamesRec
names
=
{
0
};
XkbComponentNamesRec
names
=
{
0
};
char
*
rules
=
NULL
,
*
variant
s
=
NULL
,
*
options
=
NULL
;
/* use xkb default */
char
*
rules
=
NULL
,
*
variant
=
NULL
,
*
options
=
NULL
;
/* use xkb default */
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentKeyboardProc: Using XKB extension.
\n
"
);
fprintf
(
stderr
,
"nxagentKeyboardProc: Using XKB extension.
\n
"
);
...
@@ -864,11 +864,11 @@ XkbError:
...
@@ -864,11 +864,11 @@ XkbError:
#ifdef DEBUG
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentKeyboardProc: Going to set rules and init device: "
fprintf
(
stderr
,
"nxagentKeyboardProc: Going to set rules and init device: "
"[rules='%s',model='%s',layout='%s',variant
s
='%s',options='%s'].
\n
"
,
"[rules='%s',model='%s',layout='%s',variant='%s',options='%s'].
\n
"
,
rules
,
model
,
layout
,
variant
s
,
options
);
rules
,
model
,
layout
,
variant
,
options
);
#endif
#endif
XkbSetRulesDflts
(
rules
,
model
,
layout
,
variant
s
,
options
);
XkbSetRulesDflts
(
rules
,
model
,
layout
,
variant
,
options
);
XkbInitKeyboardDeviceStruct
((
void
*
)
pDev
,
&
names
,
&
keySyms
,
modmap
,
XkbInitKeyboardDeviceStruct
((
void
*
)
pDev
,
&
names
,
&
keySyms
,
modmap
,
nxagentBell
,
nxagentChangeKeyboardControl
);
nxagentBell
,
nxagentChangeKeyboardControl
);
...
...
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