aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* nxproxy: list known session types in help outputUlrich Sibiller2019-02-181-2/+5
| | | | | | | | The old unix-* session types are deprecated and will always lead to a warning message "Unrecognized session type". Internally there are only three session types: agent, proxy and shadow, all the others are mapped to one of those three.
* Merge branch 'uli42-pr/fix_keystrokes' into 3.6.xMike Gabriel2019-02-151-6/+6
|\ | | | | | | Attributes GH PR #774: https://github.com/ArcticaProject/nx-libs/pull/774
| * keystrokes.cfg: Add missing Shift=1 for viewport_move_up/down/rightUlrich Sibiller2019-02-151-6/+6
|/ | | | | | | These keystrokes where the same as their viewport_scroll variants and made the latter being disabled. Fixes ArcticaProject/nx-libs#770
* Merge branch 'uli42-pr/revert' into 3.6.xMike Gabriel2019-02-1530-261/+255
|\ | | | | | | | | | | Attributes GH PR #773: https://github.com/ArcticaProject/nx-libs/pull/773 Fixes ArcticaProject/nx-libs#772.
| * Revert "nxagent: rework Bool handling"Ulrich Sibiller2019-02-1530-261/+255
|/ | | | | | | | | | | | This reverts commit 16cd2bbe1c4425e3fa557f9ca0723aa94a50b071. It turned out that I had missed some of the Booleans being actually tristate variables. I think I can fix this (they do not need to be tristate) but I revert this for now to get back to a working state (there are reports about non-working fullscreen mode and reconnect problems). Refers to ArcticaProject/nx-libs#772
* Merge branch 'uli42-pr/misc' into 3.6.xMike Gabriel2019-02-1331-285/+283
|\ | | | | | | Attributes GH PR #766: https://github.com/ArcticaProject/nx-libs/pull/766
| * nxagent: rework Bool handlingUlrich Sibiller2019-02-1130-255/+261
| | | | | | | | drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
| * Screen.c: code optimization for rootless modeUlrich Sibiller2019-02-111-4/+6
| | | | | | | | | | In rootless mode skip processing user geometry stuff since the values will we overwritten later anyway.
| * Screen.c: simplify and fix handling of rootless modeUlrich Sibiller2019-02-111-23/+17
| | | | | | | | Fixes: ArcticaProject/nx-libs#765
| * rrdispatch.c: remove obsolete ifdefUlrich Sibiller2019-02-111-4/+0
|/
* release 3.5.99.183.5.99.18Mike Gabriel2019-01-316-6/+231
|
* Merge branch 'theqvd-unix_socket_forwarding' into 3.6.xMike Gabriel2019-01-252-4/+8
|\ | | | | | | Attributes GH PR #764: https://github.com/ArcticaProject/nx-libs/pull/764
| * Fix parsing ports set to unix socketsVadim2019-01-221-1/+5
| |
| * Make getUnixPath() return the right value when called without an argument.Vadim2019-01-211-3/+3
|/ | | | This fixes the verification in validateSpec()
* Merge branch 'uli42-pr/window_fixes' into 3.6.xMike Gabriel2019-01-174-133/+129
|\ | | | | | | Attributes GH PR #761: https://github.com/ArcticaProject/nx-libs/pull/761
| * Screen.c: fix handling of fullscreen startupUlrich Sibiller2019-01-141-5/+5
| | | | | | | | | | | | | | | | | | If nxagent is started in fullscreen mode take care the saved size (that is applied on exit of the fullscreen mode) will be configured correctly. Also respect a user provided -geometry option (had been ignored here previously). Fixes ArcticaProject/nx-libs#449
| * Screen.c: fix size calculation in rootless modeUlrich Sibiller2019-01-141-2/+16
| | | | | | | | | | | | | | There's no need to reduce the size to 75% in rootless mode. We always want to have the full size then. Fixes ArcticaProject/nx-libs#757 (Part 2/2)
| * Screen.c: improve readability of size calculationsUlrich Sibiller2019-01-141-65/+57
| | | | | | | | | | | | ... by using some short named variables and the min() macro. No change in behaviour.
| * Screen.c: move identical line out of both parts of an if clauseUlrich Sibiller2019-01-141-3/+2
| |
| * Extensions.c: Cleanup nxagentRandRInitSizes()Ulrich Sibiller2019-01-141-44/+33
| |
| * Extensions.c: fix first resolution being ignoredUlrich Sibiller2019-01-141-3/+3
| | | | | | | | | | | | Minor fix: The loop always started at index 3, comparing against the value at index 2. So the resolution at index 1 (320x240) was never taken into account for anything.
| * Set default screen size to the whole screen in rootless modeUlrich Sibiller2019-01-141-2/+2
| | | | | | | | | | | | | | This solves weird window (menu) placement and drawing behaviour on right/lowest 25% of the screen. Fixes ArcticaProject/nx-libs#757 (Part 1/2)
| * Window.c: move WM_STATE handling to separate functionUlrich Sibiller2019-01-141-17/+19
|/
* Merge branch 'uli42-pr/fix_xlibcrash' into 3.6.xMike Gabriel2018-12-221-1/+11
|\ | | | | | | Attributes GH PR #754: https://github.com/ArcticaProject/nx-libs/pull/754
| * XlibInt: check for XlibError before accessing other dpy fieldsUlrich Sibiller2018-12-221-0/+10
| | | | | | | | | | | | This fixes an assertion being triggered on reconnect: assertion=assertion@entry=0x7f2f0bba6510 "(dpy->flags & XlibDisplayPrivSync) != 0", file=file@entry=0x7f2f0bba62fc "XlibInt.c", line=line@entry=895,
| * XlibInt.c: fix wrong debug messageUlrich Sibiller2018-12-221-1/+1
|/
* nxagent.1 man page: Grammar fix.Mike Gabriel2018-12-191-1/+1
|
* Merge branch 'uli42-pr/x2go_bypass' into 3.6.xMike Gabriel2018-12-193-32/+92
|\ | | | | | | Attributes GH PR #744: https://github.com/ArcticaProject/nx-libs/pull/744
| * nxagent: bypass X2go's keyboard configuration hackUlrich Sibiller2018-12-193-32/+92
|/ | | | | | | | | | | | If X2go runs in auto keyboard mode it will pass keyboard=null/null to the agent and set the keyboard afterwards with setxkbmap. This patch lets nxagent handle that situation internally (null/null will be interpreted as clone) and disables X2go's mechanism (by creating a dir that effectively blocks it; see x2gosetkeyboard) This is only activated if the agent is run as "x2goagent". Fixes ArcticaProject/nx-libs#368
* Merge branch 'uli42-pr/improve_keyboard2' into 3.6.xMike Gabriel2018-12-194-104/+156
|\ | | | | | | Attributes GH PR #743: https://github.com/ArcticaProject/nx-libs/pull/743
| * Keyboard.c: add static keyword where appropriateUlrich Sibiller2018-12-191-5/+5
| |
| * nxagent: simplify keycode conversion setupUlrich Sibiller2018-12-193-16/+7
| |
| * nxagent: store remote keyboard in global variablesUlrich Sibiller2018-12-193-111/+106
| | | | | | | | This avoids some roundtrips.
| * nxagent: add additional keyboard config option rmlvoUlrich Sibiller2018-12-192-7/+38
| | | | | | | | Add possibility to pass more than model and layout via the keyboard parameter.
| * nxagent: add keyboard=clone configuration optionUlrich Sibiller2018-12-193-9/+44
|/ | | | | | | | | | | | | | | | Specifying -keyboard clone (or keyboard=clone in options) will clone XKB keyboard from the remote x server. This way many keyboard problems will hopefully never return... Should be the default but is not (yet) for compatibility reasons. Fixes ArcticaProject/nx-libs#373 (except the "do autoconf if no keyboard is provided" feature.) References: ArcticaProject/nx-libs#240 ArcticaProject/nx-libs#368
* Merge branch 'uli42-pr/keyboard_cleanup' into 3.6.xMike Gabriel2018-12-193-80/+120
|\ | | | | | | Attributes GH PR #742: https://github.com/ArcticaProject/nx-libs/pull/742
| * Reconnect.c: restore old keyboard value if no new one is givenUlrich Sibiller2018-12-191-0/+11
| | | | | | | | | | | | | | It may not fully fix the issue mentioned below but it does for the -keyboard commandline option at least. Fixes ArcticaProject/nx-libs#741
| * Keyboard.c: remove non-fitting commentUlrich Sibiller2018-12-191-6/+0
| | | | | | | | Describes a check we are not doing here anymore...
| * nxagent: fix references to default rules in manpageUlrich Sibiller2018-12-191-2/+2
| | | | | | | | we have changed that to base some time ago.
| * Keyboard.c: improve creation of keyboard config fileUlrich Sibiller2018-12-191-16/+28
| | | | | | | | | | | | | | | | It will now create better working config files. References: ArcticaProject/nx-libs#239 ArcticaProject/nx-libs#368
| * Keyboard.c: reformat nxagentKeycodeConversionSetupUlrich Sibiller2018-12-191-19/+18
| |
| * Keyboard.c: use 'variant' all over the placeUlrich Sibiller2018-12-191-4/+4
| | | | | | | | avoid mix of 'variant' and 'variants'
| * Keyboard.c: rename variables to better reflect their meaningUlrich Sibiller2018-12-191-25/+25
| |
| * Keyboard.c: refactor keycode conversionUlrich Sibiller2018-12-191-38/+56
| | | | | | | | we'll need the remote xkb in KeyboardProc in future so let's move it up.
| * Keyboard.c: move keyboard file creation to extra functionUlrich Sibiller2018-12-191-51/+57
|/
* Merge branch 'uli42-pr/xnest_manpages' into 3.6.xMike Gabriel2018-12-191-8/+103
|\ | | | | | | Attributes GH PR #751: https://github.com/ArcticaProject/nx-libs/pull/751
| * manpage: reformat some linesUlrich Sibiller2018-12-191-4/+4
| |
| * manpage: add -nameUlrich Sibiller2018-12-191-0/+5
| | | | | | | | (partially) fixes ArcticaProject/nx-libs#666
| * manpage: add/extend -dpi/-autodpiUlrich Sibiller2018-12-191-4/+17
| | | | | | | | (partially) fixes ArcticaProject/nx-libs#666
| * manpage: add -geometryUlrich Sibiller2018-12-191-0/+19
| | | | | | | | (partially) fixes ArcticaProject/nx-libs#666