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
d78837ec
Commit
d78837ec
authored
Dec 31, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keyboard.c: noXkbExtension is a Boolean
parent
91cef61a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Keyboard.c
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+2
-2
No files found.
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
View file @
d78837ec
...
@@ -974,7 +974,7 @@ int nxagentResetKeyboard(void)
...
@@ -974,7 +974,7 @@ int nxagentResetKeyboard(void)
if
(
dev
->
key
)
if
(
dev
->
key
)
{
{
#ifdef XKB
#ifdef XKB
if
(
noXkbExtension
==
0
&&
dev
->
key
->
xkbInfo
)
if
(
!
noXkbExtension
&&
dev
->
key
->
xkbInfo
)
{
{
oldMinKeycode
=
dev
->
key
->
xkbInfo
->
desc
->
min_key_code
;
oldMinKeycode
=
dev
->
key
->
xkbInfo
->
desc
->
min_key_code
;
oldMaxKeycode
=
dev
->
key
->
xkbInfo
->
desc
->
max_key_code
;
oldMaxKeycode
=
dev
->
key
->
xkbInfo
->
desc
->
max_key_code
;
...
@@ -1132,7 +1132,7 @@ static int nxagentFreeKeyboardDeviceData(DeviceIntPtr dev)
...
@@ -1132,7 +1132,7 @@ static int nxagentFreeKeyboardDeviceData(DeviceIntPtr dev)
if
(
dev
->
key
)
if
(
dev
->
key
)
{
{
#ifdef XKB
#ifdef XKB
if
(
noXkbExtension
==
0
&&
dev
->
key
->
xkbInfo
)
if
(
!
noXkbExtension
&&
dev
->
key
->
xkbInfo
)
{
{
XkbFreeInfo
(
dev
->
key
->
xkbInfo
);
XkbFreeInfo
(
dev
->
key
->
xkbInfo
);
dev
->
key
->
xkbInfo
=
NULL
;
dev
->
key
->
xkbInfo
=
NULL
;
...
...
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