aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clipboard.c: drop serverCLIPBOARDUlrich Sibiller2019-09-291-5/+1
| | | | we reference lastSelectionOwner[nxagentClipboardSelection].selection everywhere.
* Clipboard.c: clientAccum is only used for debugging, add DEBUG ifdefsUlrich Sibiller2019-09-291-5/+7
|
* Clipboard.c: rename some variablesUlrich Sibiller2019-09-291-10/+10
| | | | | | | nxagentClipboardAtom -> serverCLIPBOARD nxagentTimestampAtom -> serverTIMESTAMP This is to match the names of the other server atom variables.
* Clipboard.c: introduce nxagentFind*Index functionsUlrich Sibiller2019-09-294-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}SelectionOwnerUlrich Sibiller2019-09-291-13/+22
|
* Clipboard.c: Fix: report timestamps as XA_INTEGERUlrich Sibiller2019-09-291-2/+2
| | | | Just as everyone else does. ICCCM is not really clear about this.
* Clipboard.c: improve TARGETS request handlingUlrich Sibiller2019-09-291-11/+10
|
* Clipboard.c: merge endTransfer and nxagentSendSelectionNotifyUlrich Sibiller2019-09-291-25/+12
| | | | endTransfer is the only caller
* Clipboard.c: introduce SendSelectionNotifyEventToClient helperUlrich Sibiller2019-09-291-62/+32
|
* Clipboard.c: introduce SendEventToClient helperUlrich Sibiller2019-09-291-15/+12
|
* Clipboard.c: introduce SendSelectionNotifyEventToServerUlrich Sibiller2019-09-291-82/+50
| | | | fixup! Clipboard.c: introduce XSendNotificationEventHelper
* Clipboard.c: introduce central function to abort the transferUlrich Sibiller2019-09-291-40/+36
|
* Clipboard.c: do not send notify when pointer is NULLUlrich Sibiller2019-09-291-4/+9
| | | | There was only one place where this was checked but we check it always.
* Merge branch 'uli42-pr/various2' into 3.6.xMike Gabriel2019-09-2943-2121/+1082
|\ | | | | | | Attributes GH PR #827: https://github.com/ArcticaProject/nx-libs/pull/827
| * nxcompshad: delete trailing whitespaceUlrich Sibiller2019-09-292-8/+8
| |
| * nxcompshad: fix logging segfaultUlrich Sibiller2019-09-292-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 managementUlrich Sibiller2019-09-291-245/+79
| |
| * Events.c: drop unused functionUlrich Sibiller2019-09-291-5/+0
| |
| * Holder.c: remove superflous returnUlrich Sibiller2019-09-291-2/+0
| |
| * Keyboard.c: condense keycode conversion tableUlrich Sibiller2019-09-291-255/+51
| |
| * Display.c: fix formatUlrich Sibiller2019-09-291-5/+5
| |
| * Font.c: add FIXMEUlrich Sibiller2019-09-291-0/+1
| |
| * Image.c: fix indentationUlrich Sibiller2019-09-291-15/+15
| |
| * Events.c: add nxagentSwitchEventsAllScreens helperUlrich Sibiller2019-09-291-35/+19
| |
| * Trap.h: shorten fileUlrich Sibiller2019-09-291-39/+15
| | | | | | | | by reformatting comments and removing blank lines.
| * nxagent: move atom initiatialization to Init.cUlrich Sibiller2019-09-292-3/+3
| | | | | | | | | | It is not dependent on any root window and needs only be called once on startup.
| * Events.c: whitespace fixesUlrich Sibiller2019-09-291-28/+28
| |
| * Render.c: remove some more unused functionsUlrich Sibiller2019-09-291-219/+0
| | | | | | | | | | | | nxagentTriangles nxagentTriFan nxagentTriStrip
| * Render.c: remove lots of superflous empty linesUlrich Sibiller2019-09-291-84/+1
| | | | | | | | Improve code readability
| * Render.c: reformat commentsUlrich Sibiller2019-09-291-43/+30
| |
| * Render.c: Code simplificationsUlrich Sibiller2019-09-291-172/+89
| | | | | | | | Save some lines...
| * Render.c: remove empty lines around XSync callsUlrich Sibiller2019-09-291-36/+0
| | | | | | | | make the code more readable
| * Render.c: make nxagentPrintFormat a NOP in normal modeUlrich Sibiller2019-09-291-49/+2
| | | | | | | | This way we can remove lots of #ifdef DEBUGs
| * nxagent: simplify nxagentRenderRealizeCursorUlrich Sibiller2019-09-293-28/+16
| | | | | | | | also drop unused return code
| * Render.c. simplify nxagentMatchingFormatsUlrich Sibiller2019-09-291-3/+1
| |
| * Render.c: fix broken commentUlrich Sibiller2019-09-291-2/+2
| |
| * Render.c: drop unused nxagentDestroyPictureClipUlrich Sibiller2019-09-291-9/+0
| |
| * Render.c: drop unused nxagentRasterizeTrapezoidUlrich Sibiller2019-09-291-11/+0
| |
| * Render.c: drop unused nxagentValidatePictureUlrich Sibiller2019-09-291-9/+0
| |
| * Init.c: some scope improvementsUlrich Sibiller2019-09-291-12/+5
| |
| * Screen.h: add missing prototype for nxagentPropagateArtsdProperties()Ulrich Sibiller2019-09-291-0/+2
| |
| * Atoms.[ch]: drop unused return code of nxagentInitAtoms()Ulrich Sibiller2019-09-292-5/+2
| |
| * Events.c: scope improvementsUlrich Sibiller2019-09-291-11/+5
| |
| * Clipboard.c: whitespace fixesUlrich Sibiller2019-09-291-5/+5
| |
| * NXdixfonts.c: use NXAGENT_SERVER instead of NX_TRANS_SOCKUlrich Sibiller2019-09-291-15/+7
| | | | | | | | | | that macro fits better here since there's no transport specific code.
| * nxagent: avoid nested externsUlrich Sibiller2019-09-2910-41/+48
| |
| * xkb: replace NX_TRANS_SOCKET by NXAGENT_SERVERUlrich Sibiller2019-09-291-1/+1
| | | | | | | | This has nothing to do with the transport.
| * Screen.c: fix wrong format characterUlrich Sibiller2019-09-291-1/+1
| |
| * Window.c: reactivate disabled debug codeUlrich Sibiller2019-09-291-1/+1
| |
| * Screen.c: fix typoUlrich Sibiller2019-09-291-1/+1
| |