aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Screen.c: fix handling of AllScreens without a running window managerUlrich Sibiller2021-12-291-0/+1
| | | | | | | | | | | | When used with the old nomachine nxclient (nxclient-3.5.0-9.exe) on Windows for running a desktop session the screen size was wrong (set to 3/4 of the requested size while also activating fullscreen because in that case nomachine's nxwin does not offer a window manager). Fix this by always setting AllScreens to true when there's no window manager, just as it was already done with the FullScreen variable. Fixes: ArcticaProject/nx-libs#1030
* Merge branch 'uli42-pr/various8' into 3.6.xMike Gabriel2021-10-308-77/+71
|\ | | | | | | Attributes GH PR #1025: https://github.com/ArcticaProject/nx-libs/pull/1025
| * Clipboard.c: fix/reformat some commentsUlrich Sibiller2021-10-301-8/+14
| |
| * Screen.c, Window.c: use "None" everywhere for FullscreenWindowUlrich Sibiller2021-10-302-2/+2
| |
| * Screen.c: Fix wrong format specifierUlrich Sibiller2021-10-301-1/+1
| |
| * Imakefiles: whitespace fixesUlrich Sibiller2021-10-303-43/+42
| |
| * Args.c: remove superfluous SAFE_free() callUlrich Sibiller2021-10-301-2/+0
| |
| * Args.c: fix wrong commentUlrich Sibiller2021-10-301-3/+2
| |
| * Args.c: remove some empty linesUlrich Sibiller2021-10-301-4/+0
| |
| * nxdialog: use os.linesep to make it work on other systemsUlrich Sibiller2021-10-301-6/+5
| |
| * nxdialog: rework commentsUlrich Sibiller2021-10-301-8/+5
|/
* Merge branch 'uli42-pr/extend_x2go_check' into 3.6.xMike Gabriel2021-10-303-5/+37
|\ | | | | | | Attributes GH PR #1024: https://github.com/ArcticaProject/nx-libs/pull/1024
| * nxagent: extend x2go checkUlrich Sibiller2021-10-303-5/+37
|/ | | | | | | do not only depend on the program name but also check the DISPLAY variable and the command line parameters. This mainly helps for testing some special constructs when you want to use an alternative nxagent for x2go connections.
* Merge branch 'sunweaver-pr/debian-use-tirpc-in-ghactions' into 3.6.xMike Gabriel2021-10-301-4/+1
|\ | | | | | | Attributes GH PR #1026: https://github.com/ArcticaProject/nx-libs/pull/1026
| * .github/workflows/nx-libs.ym: Always build with -DUseTIRPC=YES.Mike Gabriel2021-10-301-4/+1
| |
| * github actions: Use TIRPC for debian:sidUlrich Sibiller2021-10-301-4/+4
|/
* Merge branch 'AlexGhiti-int/alex/riscv64_support' into 3.6.xMike Gabriel2021-10-303-0/+16
|\ | | | | | | Attributes GH PR #1023: https://github.com/ArcticaProject/nx-libs/pull/1023
| * nx-X11: Add support for riscv64 architectureAlexandre Ghiti2021-10-303-0/+16
|/
* Merge branch 'uli42-pr/many_clipboard_fixes' into 3.6.xMike Gabriel2021-10-1813-1087/+2264
|\ | | | | | | Attributes GH PR #1018: https://github.com/ArcticaProject/nx-libs/pull/1018
| * debian/rules: Define -DUseTIRPC=1 for nx-X11 build on Debian and Ubuntu ↵Mike Gabriel2021-10-181-2/+40
| | | | | | | | versions that already have libtirpc.
| * debian/control: Add B-D: libtirpc-dev.Mike Gabriel2021-10-181-0/+1
| |
| * Clipboard.c: Add debug output when selection is already clearedUlrich Sibiller2021-07-051-0/+6
| |
| * Clipboard.c: check for invalid indexUlrich Sibiller2021-07-051-5/+9
| | | | | | | | | | | | We only need to check this in nxagentHandleSelectionClearFromXServerByIndex, so we can simplify nxagentHandleSelectionClearFromXServerByAtom.
| * Events.c: add another commentUlrich Sibiller2021-07-051-0/+5
| |
| * Fix Xfixes event handlingUlrich Sibiller2021-07-055-148/+137
| | | | | | | | | | | | | | | | | | Calling the callback on receptions of an EXTERNAL xfixes event was a weird idea from the start. However, since adding the protection trap around it it made no sense at all because it effectivly made the callback a noop for that case. So let's drop all the trap nonsense and implement it properly. The callback will only be used for actions by internal clients.
| * NXdispatch.c: add an explaining commentUlrich Sibiller2021-06-221-3/+8
| | | | | | | | and restructure a bit.
| * Clipboard.c: print debug message if selection is already clearedUlrich Sibiller2021-06-211-0/+6
| |
| * Clipboard.c: Only take full clipboard clearing action if non-emptyUlrich Sibiller2021-06-211-11/+11
| |
| * Clipboard.c: improve some commentsUlrich Sibiller2021-06-211-3/+10
| |
| * Clipboard.c: remove superflous checkUlrich Sibiller2021-06-211-14/+6
| | | | | | | | replyPendingRequestSelectionToXServer already checks for None
| * Clipboard.c: restruct setSelectionOwnerOnXServerUlrich Sibiller2021-06-211-69/+76
| | | | | | | | Immediately abort if the selection index cannot be determined.
| * Clipboard.c: do not process requests if we do not have a local ownerUlrich Sibiller2021-06-211-0/+9
| | | | | | | | | | | | This can happen after having processed a SelectionClear event while the real X server still knows the nxagent serverWindow as the selection owner.
| * Clipboard.c: extend setSelectionOwnerOnXServer()Ulrich Sibiller2021-06-201-7/+10
| | | | | | | | to let it handle a SelectionClear automatically.
| * Clipboard.c: remove obsolete (disabled) codeUlrich Sibiller2021-06-201-3/+0
| | | | | | | | | | | | | | Either replyPendingRequest a few lines before will set this to None or it will already be None. Also drop the wrong comment line...
| * Clipboard.c: add missing target cache invalidation to some (currently ↵Ulrich Sibiller2021-06-201-0/+2
| | | | | | | | unused) code
| * Events.c: fix unused variableUlrich Sibiller2021-06-201-1/+4
| |
| * Clipboard.c: rename nxagentFindLastSelectionOwnerIndex()Ulrich Sibiller2021-06-201-5/+5
| | | | | | | | Did not refer to LastSelectionOwner at all...
| * Clipboard.c: rename intermediate variableUlrich Sibiller2021-06-201-7/+7
| | | | | | | | | | Using a capital letter here better reflects that this is an event from the real X server.
| * Clipboard.c: fix format specifierUlrich Sibiller2021-06-201-1/+1
| |
| * Clipboard.c: fix typos in commentUlrich Sibiller2021-06-201-1/+1
| |
| * Clipboard.c: Fix: forward the correct type and formatUlrich Sibiller2021-06-201-4/+3
| | | | | | | | now stuff like xclip -o -t LENGTH works (if the owner offers that)
| * Clipboard.c: improve output for PRINT_CLIPBOARD_CONTENT_ON_DEBUGUlrich Sibiller2021-06-201-10/+19
| |
| * Clipboard.c: extend commentUlrich Sibiller2021-06-201-1/+4
| |
| * Clipboard.c: add helper variableUlrich Sibiller2021-06-201-18/+20
| |
| * Clipboard.c: remove superfluous bracketsUlrich Sibiller2021-06-201-84/+82
| |
| * Clipboard.c: remove old codeUlrich Sibiller2021-06-201-31/+0
| | | | | | | | | | | | This block has been unused for a long time now. The comment describing how to reach that path does not make sense anymore because primary and clipboard are not sharing variables anymore. So drop it.
| * Clipboard.c: harmonize naming regarding internal/localUlrich Sibiller2021-06-202-162/+162
| | | | | | | | | | | | Use "local" everywhere instead of a mixture of "local" and "internal". Also replace abbreviations "rem" and "int" by "remote" and "local" because they are confusing readers.
| * Clipboard.c: use NXAGENT_ONSTART macro on one more locationUlrich Sibiller2021-06-201-0/+2
| |
| * Clipboard.c: improve some comments as requested by reviewerUlrich Sibiller2021-06-201-96/+104
| |
| * NXEvents.c: improve debuggingUlrich Sibiller2021-06-201-0/+3
| |