| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Store the name in a std::string to make things less complex as we don't
need to be as careful about making sure the data is free():d.
|
|
|
|
|
| |
It is more specific, and it properly sets up propagation when include
directories also need to be used further down a dependency chain.
|
|
|
|
|
| |
Avoid having our own custom stuff and instead use the modern, standard
types, for familiarity.
|
|
|
|
|
|
| |
Avoid duplication, and add logging for some more error conditions so
it's possible to see in the logs why a resize has failed or produced
unexpected results.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
Return error if no CRTC.
|
|
|
|
| |
Screen is a Xvnc thing and not relevant for x0vncserver etc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|