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
ee5cf733
Commit
ee5cf733
authored
Dec 16, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clipboard.c: change order of if clause to better match the comment above it
parent
84382e91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
Clipboard.c
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+8
-6
No files found.
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
View file @
ee5cf733
...
@@ -2011,9 +2011,15 @@ int nxagentSendNotify(xEvent *event)
...
@@ -2011,9 +2011,15 @@ int nxagentSendNotify(xEvent *event)
* which can be nxagents themselves). In that case we return 0 (tell
* which can be nxagents themselves). In that case we return 0 (tell
* dix to go on) and do nothing!
* dix to go on) and do nothing!
*/
*/
if
(
event
->
u
.
selectionNotify
.
property
==
clientCutProperty
&&
lastServerRequestor
!=
None
)
if
(
event
->
u
.
selectionNotify
.
property
!=
clientCutProperty
||
lastServerRequestor
==
None
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"%s: sent nothing.
\n
"
,
__func__
);
#endif
return
0
;
}
else
{
{
/*
/*
* Setup selection notify event to real server.
* Setup selection notify event to real server.
*
*
...
@@ -2086,10 +2092,6 @@ int nxagentSendNotify(xEvent *event)
...
@@ -2086,10 +2092,6 @@ int nxagentSendNotify(xEvent *event)
return
1
;
return
1
;
}
}
#ifdef DEBUG
fprintf
(
stderr
,
"%s: sent nothing.
\n
"
,
__func__
);
#endif
return
0
;
}
}
/*
/*
...
...
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