aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XorgGlue.c
Commit message (Collapse)AuthorAgeFilesLines
* Move computeScreenLayout/setScreenLayout to unixcommon libPeter Åstrand (astrand)2018-04-091-251/+0
| | | | | | 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.
* vncRandRGetOutputName: return a copy of the stringPeter Åstrand (astrand)2018-04-091-3/+4
| | | | | Compatibility with libXrandr, where the name is in dynamically allocated XRROutputInfo.
* Make vncRandRGetOutputId return the actual id; not a pointerPeter Åstrand (astrand)2018-04-091-2/+2
| | | | Less confusing, and compatible with libXrandr.
* Adjust dimensions for rotated monitorsPierre Ossman2017-12-071-0/+10
| | | | | We need to flip the dimensions in the case the monitor is rotated 90° or they won't map correctly to the framebuffer.
* Call FatalError on fatal exceptionsPierre Ossman2017-12-071-0/+12
|
* Adjust client pointer coordinates to absolutePierre Ossman2016-08-181-0/+10
| | | | | | 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.
* Set user/client requested mode as preferredPierre Ossman2015-07-301-28/+4
| | | | | | | | | | 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.
* Use proper prototypes in headers for all our internal functionsPierre Ossman2015-01-291-4/+0
|
* Restructure Xvnc/libvnc.so code to avoid C++ header hacksPierre Ossman2015-01-261-0/+362
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.