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
7358581d
Commit
7358581d
authored
Feb 17, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXdispatch.c: move nxagentClearClipboard to client callback
parent
067031a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
Client.c
nx-X11/programs/Xserver/hw/nxagent/Client.c
+2
-0
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+3
-12
No files found.
nx-X11/programs/Xserver/hw/nxagent/Client.c
View file @
7358581d
...
...
@@ -52,6 +52,7 @@
#include "Events.h"
#include "Drawable.h"
#include "Utils.h"
#include "Clipboard.h"
/*
* Need to include this after the stub definition of GC in Agent.h.
...
...
@@ -150,6 +151,7 @@ void nxagentClientStateCallback(CallbackListPtr *callbacks, void *data, void *ar
}
case
ClientStateGone
:
{
nxagentClearClipboard
(
client
,
NULL
);
freeClientPrivates
(
client
);
break
;
}
...
...
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
7358581d
...
...
@@ -989,23 +989,14 @@ CloseDownClient(register ClientPtr client)
{
#ifdef NXAGENT_SERVER
/*
* There must be a better way to hook a
* call-back function to be called any
* time a client is going to be closed.
*/
nxagentClearClipboard
(
client
,
NULL
);
/*
* Need to reset the karma counter and
* get rid of the pending sync replies.
* Need to reset the karma counter and get rid of the pending sync
* replies.
*/
nxagentWakeupByReset
(
client
);
/*
* Check if the client
* is a shadow nxagent.
* Check if the client is a shadow nxagent.
*/
nxagentCheckIfShadowAgent
(
client
);
...
...
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