| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Update RPM package build process to automatically detect and apply
the correct X.org patch.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
It allows us to use the more standard format specifiers.
|
| | |
|
| |
| |
| |
| | |
This is fine for simple structs but not class based objects.
|
| |
| |
| |
| |
| | |
We still target a very old version of macOS, which tends to make clang
very upset, so we need to turn off depercation warnings.
|
| |
| |
| |
| | |
Some compilers get upset if a declaration comes after the definition.
|
| | |
|
|/
|
|
|
| |
The method it overloads got tweaked some time ago, so we need to make
sure this method follows suit.
|
|\ |
|
| |
| |
| |
| |
| | |
Sends response for SetDesktopSize as per the community wiki
specification
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the same touch gesture support for Windows as already added
for Unix. Note that it uses Windows gesture detection instead of our own
here though to give the user a familiar experience. Unfortunately that
means we lose the three finger tap.
This also raises the base requirements to Windows 7 as that's when
Windows got proper touch support.
|
| |
| |
| |
| |
| | |
Allows the user to perform certain important mouse operations using
touch gestures instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We have a timer after Ctrl is pressed in order to see if an Alt will
come right after. Ctrl + Alt is what windows sends for AltGr.
If a key other than Alt was pressed we knew that we could cancel this
timer, this commit extends that to mouse events too.
Since this detection breaks the true order of events we want to make
a decision as fast as possible.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Switch from using Core events to using X Input events for pointer
devices in order to differentiate between mouse events and touch events.
Because FLTK doesn't understand X Input 2, we intercept these events and
translate them to core events where possible.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If you have the setting "Emulate middle mouse button" turned on, a click
and drag can fail if it is done very quickly. The position of the
initial click will be incorrect in such a case because the timeout will
delay events.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We need to make sure everything happens in the correct order during
startup for the X11 display to open correctly. Primarily it means
we need to parse the arguments and open the display before anything
might make any X11 calls, as we may have a -display argument.
|
| |
| |
| |
| |
| | |
We don't exit here, so it's not a fatal error. It's also a fairly common
scenario, so remove the alert completely.
|
| |
| |
| |
| | |
Makes things more consistent and avoids surprises.
|
| | |
|
| |
| |
| |
| |
| | |
We'll just crash later if we try to use such a large screen, so reject
the request from the client instead and keep the server running.
|
| | |
|
| |
| |
| |
| |
| | |
It expects the callers to include this, so make sure we're consistently
providing one.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
vncsession-start is running in SELinux vnc_session_t domain because of
"SELinuxContext=system_u:system_r:vnc_session_t:s0" option in systemd
vncserver@.service unit file. vncsession-start executing binary
vncsession with SELinux label/type vnc_session_t. This access was not
allowed in vncsession policy.
|
|
|
|
|
|
| |
It seems like many of the X11 operations can end up with no pixels
actually changing. So instead of discovering and adding workarounds for
each individually we'll just check very region added if it's empty.
|
| |
|
| |
|
|
|
|
|
| |
Otherwise it might fail if the repositories have changed since the image
was generated.
|
|
|
|
|
| |
We now require at least 1.16, so remove all code that handled older
versions than that.
|
|
|
|
|
| |
We removed support in the code ages ago, but overlooked this part of the
documentation. Also remove some dead code in Xvnc on the same theme.
|
|\ |
|
| |
| |
| |
| | |
No current distribution ship anything this ancient anyway.
|
| |
| |
| |
| |
| | |
This makes our builds directly compatible with most distributions
without packagers/users having to specify extra flags.
|
| |
| |
| |
| |
| |
| | |
Running as a service on a SELinux system requires rules so we can
transition to our own context. We also need the proper permissions
to start new user sessions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This sets up a more correct session as there are key tasks that
need to be performed by PAM. E.g. systemd will allocate cgroups
and start base services.
In order to easily handle this as a system service the mapping of
displays is now done via a configuration file.
|
| | |
|
| |
| |
| |
| |
| | |
It is present on all UNIX systems anyway, so let's simplify things.
We will need it for more proper session startup anyway.
|
| |
| |
| |
| |
| | |
Assume we are part of a complete and proper installation and encode the
full expected path in to the vncserver script.
|
| |
| |
| |
| |
| | |
It keeps much better track of the X server and startup files than
we can do.
|
| |
| |
| |
| |
| |
| | |
We need to be started as a system service for things to work correctly
anyway, so delegate the work of starting and stopping things to the
system service manager (e.g. systemd).
|
| |
| |
| |
| |
| | |
This is how display managers (e.g. gdm or lightdm) start sessions
and is necessary to get the proper set of environment variables.
|
| |
| |
| |
| |
| | |
We don't want to create files in the users home directory unless we
have to. Users can read about how this file works in our man pages.
|
| |
| |
| |
| |
| | |
We now have config files for more fine grained control of these
things, so avoid duplicating the functionality.
|