summaryrefslogtreecommitdiffstats
path: root/src/xprivate.h
diff options
context:
space:
mode:
authorSimon Rettberg2020-09-17 15:17:01 +0200
committerSimon Rettberg2020-09-17 15:17:01 +0200
commit2901482b60f53ba9846db779601297838ad9f622 (patch)
treece76febf8c2cf3b229a9fc3280cc0f0605d63cb4 /src/xprivate.h
parentAdd more debug info (diff)
downloadbeamergui-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.h1
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;