Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clipboard.c: drop serverCLIPBOARD | Ulrich Sibiller | 2019-09-29 | 1 | -5/+1 |
| | | | | we reference lastSelectionOwner[nxagentClipboardSelection].selection everywhere. | ||||
* | Clipboard.c: clientAccum is only used for debugging, add DEBUG ifdefs | Ulrich Sibiller | 2019-09-29 | 1 | -5/+7 |
| | |||||
* | Clipboard.c: rename some variables | Ulrich Sibiller | 2019-09-29 | 1 | -10/+10 |
| | | | | | | | nxagentClipboardAtom -> serverCLIPBOARD nxagentTimestampAtom -> serverTIMESTAMP This is to match the names of the other server atom variables. | ||||
* | Clipboard.c: introduce nxagentFind*Index functions | Ulrich Sibiller | 2019-09-29 | 4 | -50/+33 |
| | | | | | At some places we were using NumCurrentSelections. We replace that by nxagentMaxSelections because they always have the identical value. | ||||
* | Clipboard.c: introduce nxagent{Clear,Store}SelectionOwner | Ulrich Sibiller | 2019-09-29 | 1 | -13/+22 |
| | |||||
* | Clipboard.c: Fix: report timestamps as XA_INTEGER | Ulrich Sibiller | 2019-09-29 | 1 | -2/+2 |
| | | | | Just as everyone else does. ICCCM is not really clear about this. | ||||
* | Clipboard.c: improve TARGETS request handling | Ulrich Sibiller | 2019-09-29 | 1 | -11/+10 |
| | |||||
* | Clipboard.c: merge endTransfer and nxagentSendSelectionNotify | Ulrich Sibiller | 2019-09-29 | 1 | -25/+12 |
| | | | | endTransfer is the only caller | ||||
* | Clipboard.c: introduce SendSelectionNotifyEventToClient helper | Ulrich Sibiller | 2019-09-29 | 1 | -62/+32 |
| | |||||
* | Clipboard.c: introduce SendEventToClient helper | Ulrich Sibiller | 2019-09-29 | 1 | -15/+12 |
| | |||||
* | Clipboard.c: introduce SendSelectionNotifyEventToServer | Ulrich Sibiller | 2019-09-29 | 1 | -82/+50 |
| | | | | fixup! Clipboard.c: introduce XSendNotificationEventHelper | ||||
* | Clipboard.c: introduce central function to abort the transfer | Ulrich Sibiller | 2019-09-29 | 1 | -40/+36 |
| | |||||
* | Clipboard.c: do not send notify when pointer is NULL | Ulrich Sibiller | 2019-09-29 | 1 | -4/+9 |
| | | | | There was only one place where this was checked but we check it always. | ||||
* | Merge branch 'uli42-pr/various2' into 3.6.x | Mike Gabriel | 2019-09-29 | 43 | -2121/+1082 |
|\ | | | | | | | Attributes GH PR #827: https://github.com/ArcticaProject/nx-libs/pull/827 | ||||
| * | nxcompshad: delete trailing whitespace | Ulrich Sibiller | 2019-09-29 | 2 | -8/+8 |
| | | |||||
| * | nxcompshad: fix logging segfault | Ulrich Sibiller | 2019-09-29 | 2 | -20/+8 |
| | | | | | | | | | | | | | | | | | | One cannot simply pass down a va_list to another function that expects variable arguments ("..."). The prototype of the called functions must expect a va_list argument instead. This fixes segfaults that happen e.g. after compiling X11.cpp with TEST and effectively reverts 59e829f3647005a6c93662adfbcea36e27a993d8. | ||||
| * | GC.c: introduce helper macros for GC management | Ulrich Sibiller | 2019-09-29 | 1 | -245/+79 |
| | | |||||
| * | Events.c: drop unused function | Ulrich Sibiller | 2019-09-29 | 1 | -5/+0 |
| | | |||||
| * | Holder.c: remove superflous return | Ulrich Sibiller | 2019-09-29 | 1 | -2/+0 |
| | | |||||
| * | Keyboard.c: condense keycode conversion table | Ulrich Sibiller | 2019-09-29 | 1 | -255/+51 |
| | | |||||
| * | Display.c: fix format | Ulrich Sibiller | 2019-09-29 | 1 | -5/+5 |
| | | |||||
| * | Font.c: add FIXME | Ulrich Sibiller | 2019-09-29 | 1 | -0/+1 |
| | | |||||
| * | Image.c: fix indentation | Ulrich Sibiller | 2019-09-29 | 1 | -15/+15 |
| | | |||||
| * | Events.c: add nxagentSwitchEventsAllScreens helper | Ulrich Sibiller | 2019-09-29 | 1 | -35/+19 |
| | | |||||
| * | Trap.h: shorten file | Ulrich Sibiller | 2019-09-29 | 1 | -39/+15 |
| | | | | | | | | by reformatting comments and removing blank lines. | ||||
| * | nxagent: move atom initiatialization to Init.c | Ulrich Sibiller | 2019-09-29 | 2 | -3/+3 |
| | | | | | | | | | | It is not dependent on any root window and needs only be called once on startup. | ||||
| * | Events.c: whitespace fixes | Ulrich Sibiller | 2019-09-29 | 1 | -28/+28 |
| | | |||||
| * | Render.c: remove some more unused functions | Ulrich Sibiller | 2019-09-29 | 1 | -219/+0 |
| | | | | | | | | | | | | nxagentTriangles nxagentTriFan nxagentTriStrip | ||||
| * | Render.c: remove lots of superflous empty lines | Ulrich Sibiller | 2019-09-29 | 1 | -84/+1 |
| | | | | | | | | Improve code readability | ||||
| * | Render.c: reformat comments | Ulrich Sibiller | 2019-09-29 | 1 | -43/+30 |
| | | |||||
| * | Render.c: Code simplifications | Ulrich Sibiller | 2019-09-29 | 1 | -172/+89 |
| | | | | | | | | Save some lines... | ||||
| * | Render.c: remove empty lines around XSync calls | Ulrich Sibiller | 2019-09-29 | 1 | -36/+0 |
| | | | | | | | | make the code more readable | ||||
| * | Render.c: make nxagentPrintFormat a NOP in normal mode | Ulrich Sibiller | 2019-09-29 | 1 | -49/+2 |
| | | | | | | | | This way we can remove lots of #ifdef DEBUGs | ||||
| * | nxagent: simplify nxagentRenderRealizeCursor | Ulrich Sibiller | 2019-09-29 | 3 | -28/+16 |
| | | | | | | | | also drop unused return code | ||||
| * | Render.c. simplify nxagentMatchingFormats | Ulrich Sibiller | 2019-09-29 | 1 | -3/+1 |
| | | |||||
| * | Render.c: fix broken comment | Ulrich Sibiller | 2019-09-29 | 1 | -2/+2 |
| | | |||||
| * | Render.c: drop unused nxagentDestroyPictureClip | Ulrich Sibiller | 2019-09-29 | 1 | -9/+0 |
| | | |||||
| * | Render.c: drop unused nxagentRasterizeTrapezoid | Ulrich Sibiller | 2019-09-29 | 1 | -11/+0 |
| | | |||||
| * | Render.c: drop unused nxagentValidatePicture | Ulrich Sibiller | 2019-09-29 | 1 | -9/+0 |
| | | |||||
| * | Init.c: some scope improvements | Ulrich Sibiller | 2019-09-29 | 1 | -12/+5 |
| | | |||||
| * | Screen.h: add missing prototype for nxagentPropagateArtsdProperties() | Ulrich Sibiller | 2019-09-29 | 1 | -0/+2 |
| | | |||||
| * | Atoms.[ch]: drop unused return code of nxagentInitAtoms() | Ulrich Sibiller | 2019-09-29 | 2 | -5/+2 |
| | | |||||
| * | Events.c: scope improvements | Ulrich Sibiller | 2019-09-29 | 1 | -11/+5 |
| | | |||||
| * | Clipboard.c: whitespace fixes | Ulrich Sibiller | 2019-09-29 | 1 | -5/+5 |
| | | |||||
| * | NXdixfonts.c: use NXAGENT_SERVER instead of NX_TRANS_SOCK | Ulrich Sibiller | 2019-09-29 | 1 | -15/+7 |
| | | | | | | | | | | that macro fits better here since there's no transport specific code. | ||||
| * | nxagent: avoid nested externs | Ulrich Sibiller | 2019-09-29 | 10 | -41/+48 |
| | | |||||
| * | xkb: replace NX_TRANS_SOCKET by NXAGENT_SERVER | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | | | | | | | | This has nothing to do with the transport. | ||||
| * | Screen.c: fix wrong format character | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | | |||||
| * | Window.c: reactivate disabled debug code | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | | |||||
| * | Screen.c: fix typo | Ulrich Sibiller | 2019-09-29 | 1 | -1/+1 |
| | |