aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clipboard.c: whitespace fixesUlrich Sibiller2019-09-291-14/+14
|
* Clipboard.c: improve readability by using an if clauseUlrich Sibiller2019-09-291-2/+3
|
* Clipboard.c: introduce nxagentInitSelectionOwnerUlrich Sibiller2019-09-291-11/+11
|
* Clipboard.c: scope improvementsUlrich Sibiller2019-09-291-11/+8
|
* Clipboard.c: Refactor nxagentCollectPropertyEventUlrich Sibiller2019-09-291-83/+77
|
* Clipboard.c: cleanup in nxagentRequestSelectionUlrich Sibiller2019-09-291-16/+13
|
* Clipboard.c: use designated initializers where appropriateUlrich Sibiller2019-09-291-41/+24
|
* Clipboard.c: factor out nxagentReplyRequestSelectionUlrich Sibiller2019-09-291-27/+38
|
* Clipboard.c: TIMESTAMP is a special server targetUlrich Sibiller2019-09-291-0/+7
| | | | | This is not a functional change, it only helps in clearer debugging output.
* Clipboard.c: introduce macros CLINDEX and WINDOWIDUlrich Sibiller2019-09-291-22/+24
|
* Clipboard.c: simplify nxagentGetClipboardWindowUlrich Sibiller2019-09-291-12/+3
| | | | | | | The second parameter was always NULL, so remove it. Also remove some debugging output which distracts while debugging as the function is called from ProcChangeProperty for _every_ property, also non-clipboard related ones.
* 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
| |