aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
Commit message (Collapse)AuthorAgeFilesLines
* Clipboard.c: use nxagentClientInfoString for debug outputUlrich Sibiller2020-05-311-58/+38
|
* Clipboard.c: add elapsed time for lastClient to stats output if availableUlrich Sibiller2020-05-311-2/+8
|
* Clipboard.c: call endTransfer()Ulrich Sibiller2020-05-311-4/+1
| | | | instead of sendSelectionNotifyEventToClient + setClientSelectionStage
* Clipboard.c: drop notifyConvertFailureUlrich Sibiller2020-05-311-24/+15
| | | | | Moving the client check to sendSelectionNotifyEventToClient enables us to drop notifyConvertFailure.
* Clipboard.c: drop unused return code of sendSelectionNotifyEventToClientUlrich Sibiller2020-05-311-8/+8
|
* Clipboard.c: Fix: always reset selectionStage in endTransferUlrich Sibiller2020-05-311-15/+16
|
* Clipboard.c: make setClientSelectionStage a functionUlrich Sibiller2020-05-311-26/+42
| | | | and reset the lastClient variables when stage is set to None.
* Clipboard.c: improve Clipboard statsUlrich Sibiller2020-05-311-1/+11
| | | | resolve lastClientClientPtr to process id and process name
* nxagent: Add keystroke for dumping the current clipboard stateUlrich Sibiller2020-05-316-26/+26
|
* nxagent: Free atom map on terminationUlrich Sibiller2020-05-311-0/+2
|
* mi: define NXAGENT_SERVERUlrich Sibiller2020-05-301-1/+4
| | | | | | | | | In commit f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed I marked NX changes by using #ifdef NXAGENT_SERVER. But I had missed that this define was never set in mi. So let's change that now and make it work like before. Fixes ArcticaProject/nx-libs#926
* Events.h: reformat commentsUlrich Sibiller2020-05-071-22/+15
|
* Reconnect.c: save some linesUlrich Sibiller2020-05-071-14/+1
|
* Reconnect.c: reformat commentsUlrich Sibiller2020-05-071-20/+14
|
* Screen.c: fix missing type in DEBUG modeUlrich Sibiller2020-05-071-2/+2
|
* Reconnect.c: reformat saveAgentState()Ulrich Sibiller2020-05-071-5/+4
|
* Rootless.c: do not import private propertiesUlrich Sibiller2020-05-072-0/+40
| | | | | | | | | | In rootless mode some properties are private (or internal or adminitrative). They are only required for the windows on the real X server side that represent nxagent's windows. Those properties should never be cloned from there to the the nxagent windows so we filter them. Fixes ArcticaProject/nx-libs#920
* Rootless.c: improve TEST outputUlrich Sibiller2020-05-071-12/+16
| | | | more output, correct format specifiers
* Rootless.c: add some commentsUlrich Sibiller2020-05-071-0/+11
|
* Clipboard.c: fix typoUlrich Sibiller2020-05-071-1/+1
|
* Keystroke.c: whitespace fixesUlrich Sibiller2020-05-071-6/+6
|
* NXdixfonts.c: some code cleanupsUlrich Sibiller2020-05-071-18/+16
| | | | reformat, extend comments, simplify ifdef
* NXdixfonts.c: fix debugging outputUlrich Sibiller2020-05-071-1/+5
|
* Keyboard.c: free remote keybord names once no longer neededUlrich Sibiller2020-05-071-5/+9
|
* NXdispatch.c: free font data on exitUlrich Sibiller2020-05-073-1/+10
| | | | helps to avoid valgrind warnings
* Font.c: add hint of deliberate pointer misuseUlrich Sibiller2020-05-072-3/+8
|
* Font.c: fix realloc bugsUlrich Sibiller2020-05-071-20/+23
|
* Font.c: cleanupUlrich Sibiller2020-05-071-1076/+1071
| | | | reformat, whitespace, code simplification, FIXMEs
* NXshm.c: cleanup nxagent_fbShmCreatePixmapUlrich Sibiller2020-05-071-17/+20
| | | | ... to match it as closely as possible to the upstream version.
* Dialog.h: reformat commentUlrich Sibiller2020-05-071-4/+3
|
* Dialog.h: Fix incomplete macro nxagentNoDialogIsRunningUlrich Sibiller2020-05-071-1/+3
| | | | The autograb stuff had been forgotten.
* Screen.c: fix wrong debug statementUlrich Sibiller2020-05-071-1/+1
|
* NXshm.c: slight simplificationUlrich Sibiller2020-05-071-5/+2
|
* NXshm.c: simplify Dispatch functionsUlrich Sibiller2020-05-071-11/+4
|
* Improve clipboard/xfixes related debug outputUlrich Sibiller2020-05-072-2/+2
|
* Display.c: filter remote Pixmap formats before doing the compatiblity checkUlrich Sibiller2020-05-071-5/+75
| | | | Fixes: ArcticaProject/nx-libs#635
* Client.c: add clientInfoString to client privatesUlrich Sibiller2020-05-072-1/+51
| | | | | | This is a string that contains the address, the index, the PID and the process name of the client. The string can be used in debugging messages to identify the client.
* NXdispatch.c: move nxagentCheckIfShadowAgent to client callbackUlrich Sibiller2020-05-073-18/+12
|
* NXdispatch.c: move nxagentClearClipboard to client callbackUlrich Sibiller2020-05-072-12/+5
|
* nxagent: use Xorg's callback mechanism for init/free of client privatesUlrich Sibiller2020-05-075-28/+83
|
* Client.c: use nxagentClientHint macro everywhereUlrich Sibiller2020-05-071-4/+4
|
* Client.c: mask unused clientBytes stuffUlrich Sibiller2020-05-073-0/+10
| | | | | | The only place where this was referenced outside Client.c was a commented section in Handlers.c. For now lets mask all that by an (unset) define.
* Handlers.c: slight cosmeticsUlrich Sibiller2020-05-071-16/+4
| | | | no functional change
* dix/dispatch.c: Fix copy/paste error from before git history in ↵Ulrich Sibiller2020-05-071-1/+1
| | | | | | | | | | | | | | | | | | UpdateCurrentTimeIf() Backport from this commit: commit 8dfd98245d2c44a1eb4c8b7c275e6cfc10fe40f1 Author: Chase Douglas <chase.douglas@canonical.com> Date: Wed Apr 11 11:14:51 2012 -0700 Fix copy/paste error from before git history in UpdateCurrentTimeIf() See UpdateCurrentTime() for reference. I don't know what bug this might trigger, but it wouldn't hurt to fix this. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* dix/dispatch.c: fix buggy callback invocationUlrich Sibiller2020-05-071-0/+5
| | | | Looks like a copy'n'paste error.
* Clipboard.c: rename some exported functionsUlrich Sibiller2020-05-073-13/+15
| | | | to make them all fit in the same naming scheme that better describes their purpose.
* Clipboard.c: rename static helpers and macrosUlrich Sibiller2020-05-071-93/+108
| | | | | drop the nxagent prefix to emphasize they are not called from the outside. Also make them static and add prototypes, if missing.
* Clipboard.{c,h}: cleanup prototypesUlrich Sibiller2020-05-075-29/+22
|
* Clipboard.c: deactivate unused codeUlrich Sibiller2020-05-071-0/+5
| | | | | For now deactivate nxagentResetSelectionOwner. Must do some research before removing it completely.
* Clipboard.c: clear windowPtr in ClearSelectionOwnerUlrich Sibiller2020-05-071-4/+1
| | | | | | | | | There were two location where the windowPtr was not cleared after calling ClearSelectionOwner(). One was nxagentInitClipboard where it was set to NULL before and the second one was nxagentClearSelection() where it really should be reset. So we can safely move this to where it really belongs.