Commit 34109b85 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: deactivate unused code

For now deactivate nxagentResetSelectionOwner. Must do some research before removing it completely.
parent c6aed6ad
...@@ -238,7 +238,9 @@ static void endTransfer(Bool success); ...@@ -238,7 +238,9 @@ static void endTransfer(Bool success);
#define SELECTION_FAULT False #define SELECTION_FAULT False
void nxagentTransferSelection(int resource); void nxagentTransferSelection(int resource);
void nxagentCollectPropertyEvent(int resource); void nxagentCollectPropertyEvent(int resource);
#if 0
void nxagentResetSelectionOwner(void); void nxagentResetSelectionOwner(void);
#endif
WindowPtr nxagentGetClipboardWindow(Atom property); WindowPtr nxagentGetClipboardWindow(Atom property);
void nxagentNotifyConvertFailure(ClientPtr client, Window requestor, void nxagentNotifyConvertFailure(ClientPtr client, Window requestor,
Atom selection, Atom target, Time time); Atom selection, Atom target, Time time);
...@@ -1473,6 +1475,8 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X) ...@@ -1473,6 +1475,8 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
} }
} }
#if 0
/* FIXME: currently unused */
/* /*
* Let nxagent's serverWindow acquire the selection. All requests from * Let nxagent's serverWindow acquire the selection. All requests from
* the real X server (or its clients) will be sent to this window. The * the real X server (or its clients) will be sent to this window. The
...@@ -1516,6 +1520,7 @@ void nxagentResetSelectionOwner(void) ...@@ -1516,6 +1520,7 @@ void nxagentResetSelectionOwner(void)
/* Hmm, this is already None when reaching this */ /* Hmm, this is already None when reaching this */
lastServerRequestor = None; lastServerRequestor = None;
} }
#endif
#ifdef NXAGENT_CLIPBOARD #ifdef NXAGENT_CLIPBOARD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment