Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rootless.c: do not import private properties | Ulrich Sibiller | 2020-05-07 | 2 | -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 output | Ulrich Sibiller | 2020-05-07 | 1 | -12/+16 | |
| | | | | more output, correct format specifiers | |||||
* | Rootless.c: add some comments | Ulrich Sibiller | 2020-05-07 | 1 | -0/+11 | |
| | ||||||
* | Clipboard.c: fix typo | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | ||||||
* | Keystroke.c: whitespace fixes | Ulrich Sibiller | 2020-05-07 | 1 | -6/+6 | |
| | ||||||
* | NXdixfonts.c: some code cleanups | Ulrich Sibiller | 2020-05-07 | 1 | -18/+16 | |
| | | | | reformat, extend comments, simplify ifdef | |||||
* | NXdixfonts.c: fix debugging output | Ulrich Sibiller | 2020-05-07 | 1 | -1/+5 | |
| | ||||||
* | Keyboard.c: free remote keybord names once no longer needed | Ulrich Sibiller | 2020-05-07 | 1 | -5/+9 | |
| | ||||||
* | NXdispatch.c: free font data on exit | Ulrich Sibiller | 2020-05-07 | 3 | -1/+10 | |
| | | | | helps to avoid valgrind warnings | |||||
* | Font.c: add hint of deliberate pointer misuse | Ulrich Sibiller | 2020-05-07 | 2 | -3/+8 | |
| | ||||||
* | Font.c: fix realloc bugs | Ulrich Sibiller | 2020-05-07 | 1 | -20/+23 | |
| | ||||||
* | Font.c: cleanup | Ulrich Sibiller | 2020-05-07 | 1 | -1076/+1071 | |
| | | | | reformat, whitespace, code simplification, FIXMEs | |||||
* | NXshm.c: cleanup nxagent_fbShmCreatePixmap | Ulrich Sibiller | 2020-05-07 | 1 | -17/+20 | |
| | | | | ... to match it as closely as possible to the upstream version. | |||||
* | Dialog.h: reformat comment | Ulrich Sibiller | 2020-05-07 | 1 | -4/+3 | |
| | ||||||
* | Dialog.h: Fix incomplete macro nxagentNoDialogIsRunning | Ulrich Sibiller | 2020-05-07 | 1 | -1/+3 | |
| | | | | The autograb stuff had been forgotten. | |||||
* | Screen.c: fix wrong debug statement | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | ||||||
* | NXshm.c: slight simplification | Ulrich Sibiller | 2020-05-07 | 1 | -5/+2 | |
| | ||||||
* | NXshm.c: simplify Dispatch functions | Ulrich Sibiller | 2020-05-07 | 1 | -11/+4 | |
| | ||||||
* | Improve clipboard/xfixes related debug output | Ulrich Sibiller | 2020-05-07 | 2 | -2/+2 | |
| | ||||||
* | Display.c: filter remote Pixmap formats before doing the compatiblity check | Ulrich Sibiller | 2020-05-07 | 1 | -5/+75 | |
| | | | | Fixes: ArcticaProject/nx-libs#635 | |||||
* | Client.c: add clientInfoString to client privates | Ulrich Sibiller | 2020-05-07 | 2 | -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 callback | Ulrich Sibiller | 2020-05-07 | 3 | -18/+12 | |
| | ||||||
* | NXdispatch.c: move nxagentClearClipboard to client callback | Ulrich Sibiller | 2020-05-07 | 2 | -12/+5 | |
| | ||||||
* | nxagent: use Xorg's callback mechanism for init/free of client privates | Ulrich Sibiller | 2020-05-07 | 4 | -24/+83 | |
| | ||||||
* | Client.c: use nxagentClientHint macro everywhere | Ulrich Sibiller | 2020-05-07 | 1 | -4/+4 | |
| | ||||||
* | Client.c: mask unused clientBytes stuff | Ulrich Sibiller | 2020-05-07 | 3 | -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 cosmetics | Ulrich Sibiller | 2020-05-07 | 1 | -16/+4 | |
| | | | | no functional change | |||||
* | Clipboard.c: rename some exported functions | Ulrich Sibiller | 2020-05-07 | 3 | -13/+15 | |
| | | | | to make them all fit in the same naming scheme that better describes their purpose. | |||||
* | Clipboard.c: rename static helpers and macros | Ulrich Sibiller | 2020-05-07 | 1 | -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 prototypes | Ulrich Sibiller | 2020-05-07 | 5 | -29/+22 | |
| | ||||||
* | Clipboard.c: deactivate unused code | Ulrich Sibiller | 2020-05-07 | 1 | -0/+5 | |
| | | | | | For now deactivate nxagentResetSelectionOwner. Must do some research before removing it completely. | |||||
* | Clipboard.c: clear windowPtr in ClearSelectionOwner | Ulrich Sibiller | 2020-05-07 | 1 | -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. | |||||
* | Clipboard.h: reformat comments | Ulrich Sibiller | 2020-05-07 | 1 | -7/+4 | |
| | ||||||
* | Clipboard.h: add missing externs | Ulrich Sibiller | 2020-05-07 | 1 | -4/+10 | |
| | ||||||
* | Clipboard.c: print if selection owner is inside nagent in debugging output | Ulrich Sibiller | 2020-05-07 | 1 | -0/+1 | |
| | ||||||
* | Clipboard.c: fix some format specifiers | Ulrich Sibiller | 2020-05-07 | 1 | -16/+16 | |
| | ||||||
* | Clipboard.c: fix/improve debugging output | Ulrich Sibiller | 2020-05-07 | 1 | -12/+5 | |
| | ||||||
* | Clipboard.c: rename nxagentLastRequestedSelection | Ulrich Sibiller | 2020-05-07 | 1 | -4/+5 | |
| | | | | and correctly print its value in debugging output | |||||
* | Clipboard.c: fix compilation with DEBUG | Ulrich Sibiller | 2020-05-07 | 1 | -0/+2 | |
| | ||||||
* | Clipboard.c: use validateString in debugging output | Ulrich Sibiller | 2020-05-07 | 1 | -8/+8 | |
| | ||||||
* | Clipboard.c: rearrange Atoms in debugging output | Ulrich Sibiller | 2020-05-07 | 1 | -3/+2 | |
| | | | | ensure same order for internal and external Atoms | |||||
* | nxagent: move variable definitions from headers to source files | Ulrich Sibiller | 2020-05-07 | 5 | -5/+7 | |
| | | | | Fixes ArcticaProject/nx-libs#907 (2/3) | |||||
* | nxagent: Fix double variables | Ulrich Sibiller | 2020-05-07 | 3 | -9/+5 | |
| | | | | | | nxagentCorrupted* were defined twice! Fixes ArcticaProject/nx-libs#907 (1/3) | |||||
* | Windows.h, Window.c*: reformat comments | Ulrich Sibiller | 2020-05-07 | 2 | -95/+67 | |
| | ||||||
* | NXproperty.c: fix comment/formatting | Ulrich Sibiller | 2020-05-07 | 1 | -2/+1 | |
| | ||||||
* | Window.c: scope improvements | Ulrich Sibiller | 2020-05-07 | 1 | -66/+42 | |
| | | | | plus some whitespace improvements | |||||
* | NXresource.c: scope improvements | Ulrich Sibiller | 2020-05-07 | 1 | -16/+6 | |
| | ||||||
* | NXresource.c: Fix uninitialized variable | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | | | | | | Static analyzer reported: (error) Uninitialized variable: elements Attributes ArcticaProject/nx-libs#905 | |||||
* | NXresource.c: rework marked nx code | Ulrich Sibiller | 2020-05-07 | 1 | -61/+29 | |
| | | | | | Improve visibility by unindenting. Also move the ifdefs _before_ the according comments. Finally merge ifdefs to fewer blocks. | |||||
* | NXproperty.c: fix implicit declaration | Ulrich Sibiller | 2020-05-07 | 1 | -0/+4 | |
| | | | | | | | | | | Fix warning with NX_DEBUG_INPUT: NXproperty.c: In function ‘ProcChangeProperty’: NXproperty.c:210:7: warning: implicit declaration of function ‘nxagentGuessDumpInputInfo’; did you mean ‘nxagentGuessClientHint’? [-Wimplicit-function-declaration] nxagentGuessDumpInputInfo(client, stuff->property, (char *) &stuff[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~ nxagentGuessClientHint |