aboutsummaryrefslogtreecommitdiffstats
path: root/unix/common/unixcommon.h
Commit message (Collapse)AuthorAgeFilesLines
* Use stdint typesPierre Ossman2023-02-011-1/+1
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Be consistent in including config.hPierre Ossman2021-12-301-4/+0
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Add a tryScreenLayout functionPeter Åstrand (astrand)2018-04-091-0/+3
| | | | This can be used to test if a layout if possible.
* Select the correct output for new screensPeter Åstrand (astrand)2018-04-091-0/+6
| | | | | | | | | | 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.
* Remove "screen" argument from Randr glue functionsPeter Åstrand (astrand)2018-04-091-3/+2
| | | | Screen is a Xvnc thing and not relevant for x0vncserver etc.
* Move computeScreenLayout/setScreenLayout to unixcommon libPeter Åstrand (astrand)2018-04-091-0/+40
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.