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
c889c27d
You need to sign in or sign up before continuing.
Commit
c889c27d
authored
Feb 13, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clipboard.c: fix/improve debugging output
parent
dd74cad8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
Clipboard.c
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+5
-12
No files found.
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
View file @
c889c27d
...
...
@@ -276,18 +276,11 @@ void nxagentPrintSelectionStat(int sel)
fprintf
(
stderr
,
" lastSelectionOwner[].lastTimeChanged [%u]
\n
"
,
lOwner
.
lastTimeChanged
);
/*
print the selection name.
print the selection name.
selection is _always_ a a remote Atom!
*/
if
(
lOwner
.
client
)
{
fprintf
(
stderr
,
" lastSelectionOwner[].selection [% 4d][%s] (local)
\n
"
,
lOwner
.
selection
,
NameForAtom
(
lOwner
.
selection
));
}
else
{
SAFE_XFree
(
s
);
s
=
XGetAtomName
(
nxagentDisplay
,
lOwner
.
selection
);
fprintf
(
stderr
,
" lastSelectionOwner[].selection [% 4d][%s] (remote)
\n
"
,
lOwner
.
selection
,
validateString
(
s
));
SAFE_XFree
(
s
);
}
SAFE_XFree
(
s
);
s
=
XGetAtomName
(
nxagentDisplay
,
lOwner
.
selection
);
fprintf
(
stderr
,
" lastSelectionOwner[].selection [% 4d][%s] (%s)
\n
"
,
lOwner
.
selection
,
validateString
(
s
),
lOwner
.
client
?
"inside nxagent"
:
"remote X server"
);
SAFE_XFree
(
s
);
#ifdef CLIENTIDS
fprintf
(
stderr
,
" CurrentSelections[].client [%p] index [%d] PID [%d] Cmd [%s]
\n
"
,
(
void
*
)
curSel
.
client
,
...
...
@@ -358,7 +351,7 @@ void nxagentPrintClipboardStat(char *header)
fprintf
(
stderr
,
"CLIPBOARD
\n
"
);
nxagentPrintSelectionStat
(
nxagentClipboardSelection
);
fprintf
(
stderr
,
"Atoms (
server side
)
\n
"
);
fprintf
(
stderr
,
"Atoms (
remote X server
)
\n
"
);
SAFE_XFree
(
s
);
s
=
XGetAtomName
(
nxagentDisplay
,
serverTARGETS
);
fprintf
(
stderr
,
" serverTARGETS [% 4d][%s]
\n
"
,
serverTARGETS
,
validateString
(
s
));
SAFE_XFree
(
s
);
s
=
XGetAtomName
(
nxagentDisplay
,
serverTIMESTAMP
);
...
...
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