| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We need to flip the dimensions in the case the monitor is rotated
90° or they won't map correctly to the framebuffer.
|
| |
|
|
|
|
|
|
| |
The client is not aware of where the screen is placed so it will give
us screen relative coordinates. Convert to and from these and absolute
coordinates before interacting with the input layer.
|
|
|
|
|
|
|
|
|
|
| |
Desktop environments like to change to the monitor's preferred
mode, especially at login. Lacking one, they pick the highest
resolution they can find. This tends to override what the user
has picked, so try to work around the desktop environments by
setting the preferred mode to what the user has chosen.
Credit goes to Michal Srb who figured out the problem.
|
| |
|
|
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.
|