summaryrefslogtreecommitdiffstats
path: root/src/xprivate.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-02 14:55:32 +0200
committerSimon Rettberg2019-07-02 14:55:32 +0200
commit17f21da18d0b356e0981b23f1654df99be4e4b66 (patch)
tree0671d709e55485937c35ec1c966a0ba00019b900 /src/xprivate.h
parentFix warning about defunct -t option (diff)
downloadbeamergui-17f21da18d0b356e0981b23f1654df99be4e4b66.tar.gz
beamergui-17f21da18d0b356e0981b23f1654df99be4e4b66.tar.xz
beamergui-17f21da18d0b356e0981b23f1654df99be4e4b66.zip
Try all possible modes for a given resolution
Diffstat (limited to 'src/xprivate.h')
-rw-r--r--src/xprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xprivate.h b/src/xprivate.h
index c7ef29b..2937442 100644
--- a/src/xprivate.h
+++ b/src/xprivate.h
@@ -52,8 +52,8 @@ public:
void disconnectAllCrtcs();
XRRModeInfo* getPreferredMode(const OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
void setScreenSize(const QSize &size);
- RRMode getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const;
- RRMode getOutputModeForResolution(const XRROutputInfo *output, const QSize &resolution) const;
+ QList<RRMode> getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const;
+ QList<RRMode> getOutputModeForResolution(const XRROutputInfo *output, const QSize &resolution) const;
RRCrtc getFreeCrtc(const XRROutputInfo* output) const;
bool setOutputResolution(OutputInfo *oi, int x, int y, const QSize &size, bool dryRun = false);
QList<QSize> getTotalSize(const QList<OutputInfo*> &projectors, const QList<OutputInfo*> &screens) const;