Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Xserver/xkb: Remove -xkbmap argument. | Daniel Stone | 2018-07-03 | 1 | -11/+0 |
| | | | | | | | | | | | | Backported from X.org: commit fd8bde8bb0f9d796b3464973b53285c0a6d22a31 Author: Daniel Stone <daniel@fooishbar.org> Date: Mon May 29 11:14:03 2006 +0000 Remove -xkbmap argument. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | ||||
* | hw/nxagent/Keyboard.c: Drop support for loading XKB config from file. | Mike Gabriel | 2018-07-03 | 1 | -97/+7 |
| | | | | | | * Support for XkbCF has been dropped in XKB extension by X.org * Has never been used in recent NXv3 implementations (e.g. X2Go) * Config file parsing is error prone, use setxkbmap API instead | ||||
* | Some small Keyboard.c improvements | Ulrich Sibiller | 2018-07-03 | 1 | -4/+4 |
| | | | | as in xorg-xserver upstream's hw/xnest/Keyboard.c | ||||
* | hw/nxagent/: Use <function>(void) rather than <function>(). | Mike Gabriel | 2018-02-26 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: rework string allocation/building | Ulrich Sibiller | 2018-01-07 | 1 | -14/+10 |
| | |||||
* | Keyboard.c: replace malloc + strcpy by asprintf | Ulrich Sibiller | 2018-01-07 | 1 | -6/+4 |
| | |||||
* | Keyboard.c: improve user messages for keyboard file handling | Ulrich Sibiller | 2018-01-07 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: fix memory leak | Ulrich Sibiller | 2018-01-07 | 1 | -1/+3 |
| | |||||
* | Keyboard.c: Replace some memsets by zero initialization | Ulrich Sibiller | 2017-12-14 | 1 | -6/+3 |
| | |||||
* | Keyboard.c: Fix indentation | Ulrich Sibiller | 2017-12-14 | 1 | -13/+13 |
| | |||||
* | Keyboard.c: set variables to NULL after free | Ulrich Sibiller | 2017-12-14 | 1 | -0/+3 |
| | |||||
* | Keyboard.c: XkbDfltRepeatDelay and XkbDfltRepeatIntervall are int not uint | Ulrich Sibiller | 2017-12-14 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: Use calloc instead of malloc + memset | Ulrich Sibiller | 2017-12-14 | 1 | -5/+1 |
| | |||||
* | Keyboard.c: Make xkblock more robust | Ulrich Sibiller | 2017-12-14 | 1 | -1/+21 |
| | | | | | | | If xorg upstream xkb gets extended one day the previous code would not block new xkb calls even if they would change keyboard settings. So only act on the currently known calls and throw an error for all unknown calls. | ||||
* | Keyboard.c: Some code cleanups | Ulrich Sibiller | 2017-12-14 | 1 | -57/+46 |
| | |||||
* | Keyboard.c: Add some comments with changelog explanations | Ulrich Sibiller | 2017-12-14 | 1 | -0/+21 |
| | | | | This helps understanding the intention of the following code. | ||||
* | Keyboard.c: print message class for user messages | Ulrich Sibiller | 2017-12-14 | 1 | -4/+4 |
| | |||||
* | Keyboard.c: Improve TEST output | Ulrich Sibiller | 2017-12-14 | 1 | -1/+16 |
| | |||||
* | Keyboard.c: make nxagentKeycodeConversion a Boolean | Ulrich Sibiller | 2017-11-23 | 1 | -1/+1 |
| | |||||
* | add option keyconv=(auto|on|off) | Ulrich Sibiller | 2017-11-23 | 1 | -0/+18 |
| | | | | | | | | | | | | Adds a new option called "keyconv" to control keycode conversion. Before commit 2f2ade61a8823bad012737b2b388dcc168cccbbf keycode conversion was activated if the client was Linux and client side rules and/or model was "evdev". The only (and undocumented) way to disable that was providing a value different from "linux" for the "client" option (which had no other effect). The mentioned commit removed the dependency on Linux and so there was no way anymore to disable keycode conversion. | ||||
* | Keyboard.c: Use booleans for nxagentKeycodeConversion | Ulrich Sibiller | 2017-11-23 | 1 | -5/+5 |
| | |||||
* | Keystroke.c: ignore CapsLock and NumLock most of the time | Ulrich Sibiller | 2017-03-19 | 1 | -3/+19 |
| | | | | | | CapsLock and NumLock will only be taken into account for keystrokes that explicitly require them. This is implemented for convenience and fixes ArcticaProject/nx-libs#397 | ||||
* | Keyboard.c: Introduce separate masks for Alt and Meta | Ulrich Sibiller | 2017-03-13 | 1 | -0/+8 |
| | | | | Unclear why they have been merged at all. | ||||
* | Keyboard.c: Simplify if clause | Ulrich Sibiller | 2017-03-10 | 1 | -4/+2 |
| | |||||
* | nxcompext: Move code into Xserver subtree, as nxcompext requires Xserver ↵ | Mike Gabriel | 2016-11-15 | 1 | -1/+1 |
| | | | | | | includes at build time. Fixes ArcticaProject/nx-libs#276. | ||||
* | Keyboard.c: evdev is only existing on Linux | Ulrich Sibiller | 2016-11-08 | 1 | -4/+3 |
| | | | | | | | | | | | Remove check for the remote side operating system because the evdev check will only succeed on Linux (and in future FreeBSD?) anyway. Besides, this makes keycode conversion work when using nxagent without nx transport (as an xnest replacement) or when not providing client=linux in the options. This fixes the second issue mentioned in ArcticaProject/nx-libs#239 (keyboard not working correctly). | ||||
* | Keyboard.c: move variable to inner scope | Ulrich Sibiller | 2016-11-08 | 1 | -7/+5 |
| | |||||
* | Keyboard.c: replace malloc/strcpy by str(n)dup | Ulrich Sibiller | 2016-11-08 | 1 | -8/+2 |
| | |||||
* | Keyboard.c: more whitespace/formatting fixes | Ulrich Sibiller | 2016-11-08 | 1 | -12/+15 |
| | |||||
* | Keyboard.c: improve keyboard file creation | Ulrich Sibiller | 2016-11-08 | 1 | -5/+5 |
| | | | | Fixes ArcticaProject/nx-libs#239 | ||||
* | Keyboard.c: use NULL instead of 0 | Ulrich Sibiller | 2016-11-08 | 1 | -5/+5 |
| | |||||
* | Keyboard.c: remove superfluous whitespace | Ulrich Sibiller | 2016-11-08 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: Fix wrong error msg prefix | Ulrich Sibiller | 2016-11-08 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: Fix and simplify keyboard config file handling | Ulrich Sibiller | 2016-11-08 | 1 | -12/+3 |
| | | | | | keyboard config file for nxagent/x2goagent was broken from the moment it got implemented. nxagentXkbConfigFilePath had never been filled. | ||||
* | Improve DEBUG/TEST output regarding keyboard stuff | Ulrich Sibiller | 2016-11-08 | 1 | -12/+37 |
| | |||||
* | Drop unused define NXAGENT_KEYMAP_DIR_FILE | Ulrich Sibiller | 2016-11-08 | 1 | -2/+0 |
| | |||||
* | xserver: drop XKBSRV_NEED_FILE_FUNCS | Ulrich Sibiller | 2016-10-06 | 1 | -3/+5 |
| | | | | just as upstream did |