| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Our main web site now supports https, so update all references.
|
|
|
|
|
|
|
|
| |
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_*.
|
| |
|
|
|
|
|
| |
We cannot assume endian-ness for the cursor we get from XFixes.
Adjust the algorithm to properly follow the specification.
|
|
|
|
|
|
| |
We get a whole bunch of very tiny areas, which is very inefficient to
deal with. Instead create a rectangle around every "list" of connected
glyphs (usually each line).
|
|
|
|
|
|
|
|
| |
There are some cases where the server state will not automatically
be updated on a change. A prominent one is when only RFB attributes
were changes (e.g. the screen ID) but nothing else. In that case
there is no actual change in the X server, so it never sends any
notification about change back to us.
|
|
|
|
|
| |
x0vncserver might only be observing part of the display, so we need
to adjust any coordinates before we give them to the RFB core.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Function xorgGlxCreateVendor() is defined in glx_extinit.h, if this header is
not included, we might get either error or warning. This header also need to
be included after scrninststr.h header as it defines some structures used
in glx_extinit.h
|
| |
|
|
|
|
|
|
| |
In-server GLVND requires xorgGlxCreateVendor call from InitOutput.
DPMS functions were moved to another location and no longer need to be faked.
xserver120.patch is a copy of xserver119.patch with refreshed contexts.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Patch originally by Dag-Erling Smørgrav for University of Oslo.
|
| |
| |
| |
| |
| | |
Makes the code more general and not directly tied to specifically
TCP sockets.
|
| |
| |
| |
| |
| | |
The Xserver (at least Xorg 1.19) rejects RRSetCrtcConfig requests if
rotation is zero.
|
|/ |
|
|
|
|
|
| |
With the new unixcommon library we have things outside of common/,
so make the handling of out-of-tree builds more general.
|
|
|
|
|
|
|
|
| |
Change Xserver screen through libXrandr. For complex configurations,
all outputs must have corresponding size modes. As a special case, if
the client requests a single screen with an odd size (for example when
adjusting the size of a non-fullscreen vncviewer), find a smaller
suitable mode, and reduce the framebuffer size as well.
|
|
|
|
| |
This can be used to test if a layout if possible.
|
| |
|
|
|
|
|
| |
Better to avoid making unnecessary calls, but mainly we want to avoid
logging false errors.
|
|
|
|
|
|
|
|
|
|
| |
For example, if we have earlier disabled an output because it was too
large for the framebuffer, we should prefer this output when
allocating new outputs.
Move the code that turn off unused outputs to the end.
Also, add support for checking the output connection state.
|
|
|
|
|
| |
Apparently this is not necessary when using the internal API, but a
must with libXrandr.
|
|
|
|
|
| |
This only matters when using clones, which we do not accept yet. This
patch is for completeness and to avoid future surprises.
|
|
|
|
| |
Return error if no CRTC.
|
|
|
|
| |
Screen is a Xvnc thing and not relevant for x0vncserver etc.
|
|
|
|
|
| |
RANDR is mandatory since Xorg 1.7, which is the oldest version we
support.
|
|
|
|
|
|
|
|
|
|
|
|
| |
In RandR land, there's a lot of return code confusion. Our wrappers
are using the same return codes as RRCrtcSet, RRScreenSizeSet: 1/TRUE
for success. Fixes:
* vncRandRCreateOutputs did not follow this convention
* A lot of code returned -1 upon failure
* vncRandRDisableOutput returned 0 for already disabled outputs
|
|
|
|
|
|
| |
These two code blocks are not specific to Xvnc/vnc.so, but useful for
x0vncserver as well. RandrGlue.h defines the interface on which
unixcommon depends on.
|
|
|
|
|
| |
Compatibility with libXrandr, where the name is in dynamically
allocated XRROutputInfo.
|
|
|
|
| |
Less confusing, and compatible with libXrandr.
|
|
|
|
| |
Should use 2 spaces like the rest of the project.
|
|
|
|
|
| |
It wasn't properly updated in 3112f50 when it was split off from
x0vncserver.cxx.
|
|
|
|
|
|
| |
In XDesktop::start() we allocate pixel buffer and set it as the backend to the given VNCServer.
In XDesktop::stop() we deallocate the buffer, so we must unset it from the VNCServer as well.
Otherwise the VNCServer could try to access it and crash, for example in deferred update.
|
|
|
|
|
| |
Colour map support was removed in b6b4dc6, but x0vncserver didn't
properly check if the X server required it.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
| |
TriFan and TriStrip were added in 1.12, so we need to have that code
conditional to support older versions of Xorg.
|
|
|
|
|
|
| |
There were a bunch of parameters that weren't properly added to the
man pages when the features were added. Make sure everything is
properly in sync.
|
|
|
|
|
| |
They share a lot of settings, so make sure the documentation is
identical in those cases.
|
|
|
|
|
| |
The funcationality was removed in 6e49e95, so let's also clean up
the documentation referring to it.
|
| |
|
|
|
|
| |
We had overlooked a few so we didn't track all screen changes properly.
|