aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/Input.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename Input.h to vncInput.h to fix building on case-insensitive FSAlex Richardson2021-07-151-644/+0
| | | | | | | | | | | | | | I am cross-compiling from macOS for a FreeBSD-derived system so my host file system is case insensitive but the target isn't. Without this change I get the following warnings which show that the vnc "Input.h" is being included from mi/mi.h instead of the xserver "input.h": ``` In file included from /Users/alex/cheri/xvnc-server/hw/vnc/Input.c:33: /Users/alex/cheri/xvnc-server/mi/mi.h:55:10: warning: non-portable path to file '"Input.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path] #include "input.h" ^~~~~~~~~ "Input.h" ```
* Handle X.org patch level featuresPierre Ossman2021-07-131-1/+1
| | | | | | With the 1.20.x releases there has been features and API changes even on patch level versions, so we need to update our macros to handle these as well.
* Move ddxInputThreadInit() to xvnc.cPierre Ossman2021-07-131-9/+0
| | | | | This should only be in the ddx parts of an X server, and Input.c is used by libvnc.so as well and can cause conflicts there.
* Remove legacy Xorg codePierre Ossman2020-04-021-70/+1
| | | | | We now require at least 1.16, so remove all code that handled older versions than that.
* xserver: add no-op input thread init functionLinus Heckemann2020-02-011-0/+9
| | | | | | | | This allows Xvnc to build with xorg-server 1.20.7, which requires OS layers to implement a ddxInputThreadInit function when configured with --enable-input-thread (the default). relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919
* Replace Shift+Alt with Shift+Meta when possiblePierre Ossman2018-09-211-0/+24
| | | | | | | | Most layouts on Unix generate Meta for Shift+Alt but non-Unix clients will send XK_Alt_*. This results in us picking some other key which can confuse some applications. Try to detect this scenario and map XK_Alt_* to XK_Meta_*.
* Update NumLock comment now that we have syncPierre Ossman2018-09-211-3/+3
|
* Compile fixes for Xserver 1.9Lauri Kasanen2018-07-091-16/+16
|
* Add support for raw key codes to Xvnc/libvnc.soPierre Ossman2017-09-111-7/+72
|
* Add support for lock LED state to Xvnc/libvnc.soPierre Ossman2017-08-241-1/+6
|
* Add server side lock key sync heuristicPierre Ossman2017-08-241-6/+0
| | | | Based on QEMU's behaviour.
* spelling fixesklemens2017-01-281-1/+1
|
* Convert pointer coordinates to absolutePierre Ossman2016-08-181-2/+12
| | | | | | It is possible to set pointer coordinate using absolute numbers, but getting them back will always give us screen relative ones. Do the necessary calculations manually so we return sane values to the caller.
* xserver: Add support for xorg version 1.18.Dominik Muth2016-04-111-1/+3
| | | | xserver118.patch is identical to xserver117.patch by content.
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-121-86/+7
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Remove code supporting Xorg older than 1.7Pierre Ossman2015-01-291-86/+7
| |
* | Use proper prototypes in headers for all our internal functionsPierre Ossman2015-01-291-0/+1
|/
* Restructure Xvnc/libvnc.so code to avoid C++ header hacksPierre Ossman2015-01-261-0/+691
The internal Xorg headers are very incompatible with C++ and we've had to resort to all kinds of hacks in order to include them in our C++ code. This approach isn't really viable long term so restructure things so that we have a glue layer written in C that bridges the Xorg core with the RFB classes.