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
cc01d499
Commit
cc01d499
authored
Nov 17, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clipboard.c, NXproperty.c: match prototypes
The prototype for nxagentGetClipboardWindow has been changed in
63320437
but the changes have not made it into NXproperty.c...
parent
ffce5337
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Clipboard.c
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+5
-0
NXproperty.c
nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
+2
-2
No files found.
nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
View file @
cc01d499
...
...
@@ -2033,6 +2033,11 @@ int nxagentSendNotify(xEvent *event)
return
0
;
}
/*
* This is called from NXproperty.c to determine if a client sets the
* property we are waiting for.
* FIXME: in addition we should check if the client is the one we expect
*/
WindowPtr
nxagentGetClipboardWindow
(
Atom
property
)
{
int
i
=
nxagentFindLastSelectionOwnerIndex
(
nxagentLastRequestedSelection
);
...
...
nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
View file @
cc01d499
...
...
@@ -94,7 +94,7 @@ nxagentWMStateRec;
#undef DEBUG
#ifdef NXAGENT_CLIPBOARD
extern
WindowPtr
nxagentGetClipboardWindow
(
Atom
,
WindowPtr
);
extern
WindowPtr
nxagentGetClipboardWindow
(
Atom
);
#endif
#ifdef NXAGENT_ARTSD
...
...
@@ -135,7 +135,7 @@ ProcChangeProperty(ClientPtr client)
REQUEST_FIXED_SIZE
(
xChangePropertyReq
,
totalSize
);
#ifdef NXAGENT_CLIPBOARD
pWin
=
nxagentGetClipboardWindow
(
stuff
->
property
,
NULL
);
pWin
=
nxagentGetClipboardWindow
(
stuff
->
property
);
if
(
pWin
==
NULL
)
#endif
...
...
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