diff options
author | Simon Rettberg | 2020-09-17 15:17:01 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-17 15:17:01 +0200 |
commit | 2901482b60f53ba9846db779601297838ad9f622 (patch) | |
tree | ce76febf8c2cf3b229a9fc3280cc0f0605d63cb4 /src/xprivate.h | |
parent | Add more debug info (diff) | |
download | beamergui-2901482b60f53ba9846db779601297838ad9f622.tar.gz beamergui-2901482b60f53ba9846db779601297838ad9f622.tar.xz beamergui-2901482b60f53ba9846db779601297838ad9f622.zip |
Force-Add resolutions when using --resolutions option
If the user explicitly passes desired resolutions on the command line,
assume they know what they're doing, and go ahead and force things the
way they were requested.
Also add more debug spam to relevant code, so we can track down
where/why things fail.
Diffstat (limited to 'src/xprivate.h')
-rw-r--r-- | src/xprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xprivate.h b/src/xprivate.h index 0152fb1..bc8791e 100644 --- a/src/xprivate.h +++ b/src/xprivate.h @@ -56,6 +56,7 @@ public: XRRModeInfo* setOutputResolution(QStringList &args, OutputInfo *oi, int x, int y, const QSize &size); QList<QSize> getTotalSize(const QList<OutputInfo*> &projectors, const QList<OutputInfo*> &screens) const; void copyModesToAll(RROutput id, int num); + bool addResolutionToOutput(OutputInfo *oi, const QSize &res); Display* _display; Atom _EDID_ATOM; |