- 05 Jan, 2020 40 commits
-
-
Ulrich Sibiller authored
Unfortunately we cannot rename NX_CUT_BUFFER_SERVER, too, without breaking compatibility because this one is used to signal nomachine's nxclient after the splash screen is gone (see Splash.c, Window.c and ArticaProject/nx-libs#838)
-
Ulrich Sibiller authored
the MakeAtom call previously used is as good as using a variable but with the variable it is a) easier to read/understand and b) consistent with the other client* variables.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
Using this macro makes the code more readable
-
Ulrich Sibiller authored
We do not need to loop over all selections. We have a helper for that.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
It makes sense to measure time and set the initialized flag right at the start.
-
Ulrich Sibiller authored
The new code effectively does the same the old one did. But if we change the number of selections the new code will still work correctly while the old one would not.
-
Ulrich Sibiller authored
On reconnect claim the selection ownership if one of nxagent's clients is a selection owner. The code for this was already there but could not work because the lastSelectionOwner array was always dropped at the beginning of nxagentInitClipboard.
-
Ulrich Sibiller authored
Place the allocation directly before the check for success. Use the same order for server and client atoms.
-
Ulrich Sibiller authored
Always report the same list of available targets to internal and external requests.
-
Ulrich Sibiller authored
The code also worked with pWindow being NULL but it did some unnecessary stuff.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
By splitting it up we can print appropriate debug messages. More important: The code tried to handle the special targets for all other cases where it should only deny the request.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
We had comparisions for >5000 and <5000, but =5000 was not explicitly handled. In that case the code took an unexpected path.
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
The prototype for nxagentGetClipboardWindow has been changed in 63320437 but the changes have not made it into NXproperty.c...
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
and add debugging information around its checks.
-
Ulrich Sibiller authored
expect an index instead of a pointer All calls referenced lastSelectionOwner so let the function directly use it and only pass the required index.
-
Mike Gabriel authored
Attributes GH PR #884: https://github.com/ArcticaProject/nx-libs/pull/884
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
-
Ulrich Sibiller authored
no more hardcoded string length
-
Ulrich Sibiller authored
no more hardcoded string length
-
Ulrich Sibiller authored
no more hardcoded string length
-