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
feb7b977
You need to sign in or sign up before continuing.
Commit
feb7b977
authored
Dec 31, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: make nxagentXFixesInfo.Initialized a Boolean
parent
b76dddcd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Clipboard.c
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+2
-2
Clipboard.h
nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
+1
-1
Events.c
nx-X11/programs/Xserver/hw/nxagent/Events.c
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
View file @
feb7b977
...
...
@@ -225,7 +225,7 @@ const char * getXErrorString(int code)
* Save the values queried from X server.
*/
XFixesAgentInfoRec
nxagentXFixesInfo
=
{
-
1
,
-
1
,
-
1
,
0
};
XFixesAgentInfoRec
nxagentXFixesInfo
=
{
-
1
,
-
1
,
-
1
,
False
};
extern
Display
*
nxagentDisplay
;
...
...
@@ -2234,7 +2234,7 @@ Bool nxagentInitClipboard(WindowPtr pWin)
XFixesSelectionClientCloseNotifyMask
);
}
nxagentXFixesInfo
.
Initialized
=
1
;
nxagentXFixesInfo
.
Initialized
=
True
;
}
/*
...
...
nx-X11/programs/Xserver/hw/nxagent/Clipboard.h
View file @
feb7b977
...
...
@@ -35,7 +35,7 @@ typedef struct _XFixesAgentInfo
int
Opcode
;
int
EventBase
;
int
ErrorBase
;
int
Initialized
;
Bool
Initialized
;
}
XFixesAgentInfoRec
;
extern
XFixesAgentInfoRec
nxagentXFixesInfo
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Events.c
View file @
feb7b977
...
...
@@ -2831,7 +2831,7 @@ int nxagentHandleXFixesSelectionNotify(XEvent *X)
{
XFixesSelectionEvent
*
xfixesEvent
=
(
XFixesSelectionEvent
*
)
X
;
if
(
nxagentXFixesInfo
.
Initialized
==
0
)
if
(
!
nxagentXFixesInfo
.
Initialized
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: XFixes not initialized - doing nothing.
\n
"
,
__func__
);
...
...
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