| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Add a Configuration::removeParam to support such cases.
|
|
|
|
| |
Legacy systems.
|
| |
|
| |
|
|
|
|
|
| |
XFixes only reports cursor changes. We must manually call
XFixesGetCursorImage() when starting.
|
|
|
|
| |
Define ledNames in XDesktop.cxx, rename N_LEDS to XDESKTOP_N_LEDS
|
| |
|
|
|
|
| |
No need for ifdefs; we can assume MITSHM. Already done in vncviewer.
|
| |
|
|
|
|
|
| |
The normal Xorg server doesn't check this field, so neither can we
as there are applications relying on this leniancy.
|
|
|
|
|
|
| |
It was moved to the common code in f8e3b34c6, but it was unreliable
because the state could sometimes get out of sync. Push it back in
to Xvnc since it isn't necessarily something all servers will have.
|
|
|
|
|
| |
Otherwise we'll wedge the desktop object which expects an approval
or rejection to eventually show up.
|
|
|
|
| |
It was only used by WinVNC, so push it there instead.
|
|
|
|
|
| |
We would accidentally store they keycode 0 for unknown keysyms, wedging
the lookup table.
|
| |
|
|
|
|
|
| |
This is necessary to make sure the server side rendered cursor works
properly.
|
|
|
|
|
| |
We never un-select it, and it's not a problem if we get extra ones so
register it once right away.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/TigerVNC/tigervnc/issues/361
This is a simple implementation that refetches and transforms the cursor
image every time it changes, and doesn't use the cursor naming functions
of the XFixes extension to save & cache cursor images.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using XKeysymToKeycode() often gives the incorrect keycode as it
doesn't respect the current modifier state. Use XKB to find the
proper key instead.
This however also means that we need to track the mapping for all
pressed keys to make sure we know the correct keycode when it is
time to release the key.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the client provided (using QEMU extendend key event) scancodes if
available instead of reverse mapping the keysym.
X11 unfortunately uses keyboard driver specific keycodes and provides
no direct way to query this, so guess based on the keyboard mapping.
Handle the two most likely keyboard drivers, the old xorgkbd and evdev.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
|
| |
| |
| |
| |
| |
| | |
This adds the basic infrastructure and handshake for the QEMU
Extended Key Events extension. No viewer or server makes use of
the extra functionality yet though.
|
| |
| |
| |
| |
| |
| |
| | |
Listen for XKb XkbIndicatorStateNotify events for scroll/num/caps lock and
map them to the RFB protocol.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
|
| | |
|
|/
|
|
| |
Based on QEMU's behaviour.
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
This will allow us to use better formats that preserve the entire
alpha channel.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The functions might change so we need to also make sure we grab
the updated value after each call. Clean up the code to use the
same style as the rest of the Xorg code.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
One was missing a call to register the fd with the X server, and
one forgot to set it to non-blocking. One result of this was a crash
when hitting the blacklist.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 /
stderr is writable and if it is not, replacing fd 2 with /dev/null.
Since we close stderr in inetd mode to avoid xserver messages being send
to the client as vnc data, the pollfd becomes fd 2, only to be replaced
by /dev/null since a pollfd is not writable.
This commit fixes this by opening /dev/null directly after the close(2),
avoiding that the pollfd becomes fd 2.
Alan Coopersmith: Change to use dup2() for atomic switch of fd
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|/
|
|
|
|
| |
ChangeWindowProperty() was removed upstream because it was redundant,
and dixChangeWindowProperty() has been around since 1.5 so we can
safely use that.
|
| |
|
|
|
|
|
| |
Use the new X server API as the reference system and emulate it on
the older API. Avoids a lot of code duplication.
|
| |
|
|
|
|
|
|
|
|
| |
for operating systems other than GNU/Linux.
mcookie is a part of util-linux. Usually only GNU/Linux systems have it.
Do not die even if mcookie is not found. Use the previous pure perl code
to generate cookie as fallback.
|
| |
|
|
|
|
| |
INITARGS isn't used since Xorg 1.13, so remove it from our patches.
|