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
8baec5d7
Commit
8baec5d7
authored
Jun 06, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Oct 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clipboard: print requested target in debugging mode
parent
2eb4a65e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
7 deletions
+31
-7
Clipboard.c
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+31
-7
No files found.
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
View file @
8baec5d7
...
...
@@ -168,15 +168,39 @@ int GetWindowProperty(WindowPtr pWin, Atom property, long longOffset, long longL
Bool
nxagentValidServerTargets
(
Atom
target
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentValidServerTargets: Got called.
\n
"
);
#endif
if
(
target
==
XA_STRING
)
return
True
;
if
(
target
==
serverTEXT
)
return
True
;
if
(
target
==
XA_STRING
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: valid target [XA_STRING].
\n
"
,
__func__
);
#endif
return
True
;
}
else
if
(
target
==
serverTEXT
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: valid target [TEXT].
\n
"
,
__func__
);
#endif
return
True
;
}
/* by dimbor */
if
(
target
==
serverUTF8_STRING
)
return
True
;
else
if
(
target
==
serverUTF8_STRING
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: valid target [UTF8_STRING].
\n
"
,
__func__
);
#endif
return
True
;
}
else
if
(
target
==
serverTARGETS
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: special target [TARGETS].
\n
"
,
__func__
);
#endif
return
False
;
}
#ifdef DEBUG
fprintf
(
stderr
,
"%s: invalid target [%ld].
\n
"
,
__func__
,
target
);
#endif
return
False
;
}
...
...
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