diff options
Diffstat (limited to 'src/x.h')
-rw-r--r-- | src/x.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,6 @@ public: void initModes(); XRRModeInfo* getPreferredMode(OutputInfo *oi) const; QList<QSize> getTotalSize(const QList<OutputInfo*> &projectors, const QList<OutputInfo*> &screens) const; - void setOutputResolution(OutputInfo *oi, int x, int y, const QSize &size, bool dryRun = false); ScreenMode getCurrentMode(); ScreenMode setDefaultMode(bool dryRun = false); void copyModesToAll(RROutput id, int num); @@ -80,6 +79,7 @@ private: RRMode getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const; 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); static ScreenSetup * _instance; Display* _display; |