Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Screen.c: fix handling of fullscreen startup | Ulrich Sibiller | 2019-01-14 | 1 | -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 mode | Ulrich Sibiller | 2019-01-14 | 1 | -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 calculations | Ulrich Sibiller | 2019-01-14 | 1 | -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 clause | Ulrich Sibiller | 2019-01-14 | 1 | -3/+2 |
| | |||||
* | Extensions.c: Cleanup nxagentRandRInitSizes() | Ulrich Sibiller | 2019-01-14 | 1 | -44/+33 |
| | |||||
* | Extensions.c: fix first resolution being ignored | Ulrich Sibiller | 2019-01-14 | 1 | -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 mode | Ulrich Sibiller | 2019-01-14 | 1 | -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 function | Ulrich Sibiller | 2019-01-14 | 1 | -17/+19 |
| | |||||
* | nxagent.1 man page: Grammar fix. | Mike Gabriel | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | nxagent: bypass X2go's keyboard configuration hack | Ulrich Sibiller | 2018-12-19 | 3 | -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 | ||||
* | Keyboard.c: add static keyword where appropriate | Ulrich Sibiller | 2018-12-19 | 1 | -5/+5 |
| | |||||
* | nxagent: simplify keycode conversion setup | Ulrich Sibiller | 2018-12-19 | 3 | -16/+7 |
| | |||||
* | nxagent: store remote keyboard in global variables | Ulrich Sibiller | 2018-12-19 | 3 | -111/+106 |
| | | | | This avoids some roundtrips. | ||||
* | nxagent: add additional keyboard config option rmlvo | Ulrich Sibiller | 2018-12-19 | 2 | -7/+38 |
| | | | | Add possibility to pass more than model and layout via the keyboard parameter. | ||||
* | nxagent: add keyboard=clone configuration option | Ulrich Sibiller | 2018-12-19 | 3 | -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 | ||||
* | Reconnect.c: restore old keyboard value if no new one is given | Ulrich Sibiller | 2018-12-19 | 1 | -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 comment | Ulrich Sibiller | 2018-12-19 | 1 | -6/+0 |
| | | | | Describes a check we are not doing here anymore... | ||||
* | nxagent: fix references to default rules in manpage | Ulrich Sibiller | 2018-12-19 | 1 | -2/+2 |
| | | | | we have changed that to base some time ago. | ||||
* | Keyboard.c: improve creation of keyboard config file | Ulrich Sibiller | 2018-12-19 | 1 | -16/+28 |
| | | | | | | | | It will now create better working config files. References: ArcticaProject/nx-libs#239 ArcticaProject/nx-libs#368 | ||||
* | Keyboard.c: reformat nxagentKeycodeConversionSetup | Ulrich Sibiller | 2018-12-19 | 1 | -19/+18 |
| | |||||
* | Keyboard.c: use 'variant' all over the place | Ulrich Sibiller | 2018-12-19 | 1 | -4/+4 |
| | | | | avoid mix of 'variant' and 'variants' | ||||
* | Keyboard.c: rename variables to better reflect their meaning | Ulrich Sibiller | 2018-12-19 | 1 | -25/+25 |
| | |||||
* | Keyboard.c: refactor keycode conversion | Ulrich Sibiller | 2018-12-19 | 1 | -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 function | Ulrich Sibiller | 2018-12-19 | 1 | -51/+57 |
| | |||||
* | manpage: reformat some lines | Ulrich Sibiller | 2018-12-19 | 1 | -4/+4 |
| | |||||
* | manpage: add -name | Ulrich Sibiller | 2018-12-19 | 1 | -0/+5 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add/extend -dpi/-autodpi | Ulrich Sibiller | 2018-12-19 | 1 | -4/+17 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add -geometry | Ulrich Sibiller | 2018-12-19 | 1 | -0/+19 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add -depth | Ulrich Sibiller | 2018-12-19 | 1 | -0/+9 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add -class | Ulrich Sibiller | 2018-12-19 | 1 | -0/+32 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add -full | Ulrich Sibiller | 2018-12-19 | 1 | -0/+11 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | manpage: add -sync | Ulrich Sibiller | 2018-12-19 | 1 | -0/+6 |
| | | | | (partially) fixes ArcticaProject/nx-libs#666 | ||||
* | release 3.5.99.173.5.99.17 | Mike Gabriel | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Lift Xext to xorg 1.4.2 | Ulrich Sibiller | 2018-11-09 | 2 | -144/+216 |
| | |||||
* | Event.c: improve DEBUG output | Ulrich Sibiller | 2018-11-09 | 1 | -3/+15 |
| | |||||
* | Keyboard.c: simplify even more: free stuff at one place | Ulrich Sibiller | 2018-11-09 | 1 | -16/+8 |
| | |||||
* | Keyboard.c: fix keyboard=query logic | Ulrich Sibiller | 2018-11-09 | 1 | -1/+1 |
| | | | | an empty nxagentKeyboard variable is no reason to fall back to no-XKB mode | ||||
* | Keyboard.c: greatly simplify the code in nxagentKeyboardProc | Ulrich Sibiller | 2018-11-09 | 1 | -31/+13 |
| | | | | most of the code was existing twice | ||||
* | Keyboard.c: guard XkbFreeKeyboard calls | Ulrich Sibiller | 2018-11-09 | 1 | -5/+10 |
| | | | | manpage does not tell us if NULL is valid | ||||
* | Keyboard.c: simplify over-specific if | Ulrich Sibiller | 2018-11-09 | 1 | -2/+1 |
| | |||||
* | Keyboard.c: simplify RLMVO string handling | Ulrich Sibiller | 2018-11-09 | 1 | -37/+9 |
| | |||||
* | Keyboard.c: always ask for remote XKB | Ulrich Sibiller | 2018-11-09 | 1 | -12/+12 |
| | |||||
* | Keyboard.c: do not define own RLMVO defaults | Ulrich Sibiller | 2018-11-09 | 1 | -94/+5 |
| | | | | use the ones from xkb | ||||
* | no more own XkbBaseDirectory handling | Ulrich Sibiller | 2018-11-09 | 1 | -33/+0 |
| | | | | Just use the existing xkb code | ||||
* | Keyboard.c: remove unused defines | Ulrich Sibiller | 2018-11-09 | 1 | -6/+0 |
| | | | | Defines regarding XKB-BASE_DIRECTORY are used only xkb. | ||||
* | Keyboard.c: remove unnecessary includes | Ulrich Sibiller | 2018-11-09 | 1 | -7/+0 |
| | |||||
* | Keyboard.c: Remove (now) unused defines | Ulrich Sibiller | 2018-11-09 | 1 | -6/+0 |
| | |||||
* | Lift xkb to XORG-1.2.0 state | Ulrich Sibiller | 2018-11-09 | 1 | -1/+1 |
| | |||||
* | Check nxagentXkbInfo.EventBase before use | Ulrich Sibiller | 2018-11-09 | 1 | -1/+7 |
| | |||||
* | Window.c: use C99 designated initializers at some places | Ulrich Sibiller | 2018-10-27 | 1 | -37/+30 |
| |