aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 85ef1ae16..09c7eb2c2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -912,21 +912,21 @@ void nxagentHandleSelectionClearFromXServer(XEvent *X)
x.u.selectionClear.atom = CurrentSelections[index].selection;
sendEventToClient(lastSelectionOwner[index].client, &x);
- }
- /*
- * Set the root window with the NullClient as selection owner. Our
- * clients asking for the owner via XGetSelectionOwner() will get
- * these for an answer.
- */
- CurrentSelections[index].window = screenInfo.screens[0]->root->drawable.id;
- CurrentSelections[index].client = NullClient;
+ /*
+ * Set the root window with the NullClient as selection owner. Our
+ * clients asking for the owner via XGetSelectionOwner() will get
+ * this for an answer.
+ */
+ CurrentSelections[index].window = screenInfo.screens[0]->root->drawable.id;
+ CurrentSelections[index].client = NullClient;
- clearSelectionOwnerData(index);
+ clearSelectionOwnerData(index);
- setClientSelectionStage(index, SelectionStageNone);
+ setClientSelectionStage(index, SelectionStageNone);
- invalidateTargetCache(index);
+ invalidateTargetCache(index);
+ }
}
}