| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
| |
| |
| |
| | |
These might contain values we want if we are start from a proper
environment.
|
| |
| |
| |
| |
| |
| |
| | |
It is the most common init system these days so it should not be
hidden in the contrib/ directory.
This also removes all old SysV files from the contrib packages.
|
| |
| |
| |
| | |
Install some example files to make things more easily discoverable.
|
| |
| |
| |
| |
| | |
These are EOL (or soon to be) and we want to start relying on things
present in current distributions.
|
| | |
|
| |
| |
| |
| |
| | |
Most window managers won't like this, and it tends to provoke bugs in
FLTK, so let's avoid it. It's probably not what the user wants anyway.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Created a new subclass of Exception called GAIException() that will
handle error messages from getaddrinfo() instead of letting Exception()
handle it. GAIException() will make use of gai_strerror() to map the
error code to text. On Windows, gai_strerrorW() must be used if the text
is encoded with UTF-8.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The previous error messages did not support Unicode characters. This
commit will use UTF-8 encoding to be able to display error messages in
every language.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
There are multiple "okay" return values, not just Z_OK. Make sure we
don't bail out needlessly.
|
| | |
| | |
| | |
| | | |
We adapted to the wrong new callback in a previous commit.
|
| |/
|/|
| |
| |
| | |
The CConnection base class wants to be able to write things these days,
so we need to provide it a place to do so.
|
|\ \
| |/
|/| |
Read username and passwrod from env.
|
| | |
|