summaryrefslogtreecommitdiffstats
path: root/unix/common/RandrGlue.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a tryScreenLayout functionPeter Åstrand (astrand)2018-04-091-1/+4
| | | | This can be used to test if a layout if possible.
* Select the correct output for new screensPeter Åstrand (astrand)2018-04-091-0/+1
| | | | | | | | | | 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.
* Make vncRandRGetOutputDimensions tolerant for disabled outputsPeter Åstrand (astrand)2018-04-091-1/+1
| | | | Return error if no CRTC.
* Remove "screen" argument from Randr glue functionsPeter Åstrand (astrand)2018-04-091-15/+15
| | | | Screen is a Xvnc thing and not relevant for x0vncserver etc.
* Move computeScreenLayout/setScreenLayout to unixcommon libPeter Åstrand (astrand)2018-04-091-0/+64
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.