summaryrefslogtreecommitdiffstats
path: root/src/x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x.h')
-rw-r--r--src/x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x.h b/src/x.h
index 8a37b62..b5df6e0 100644
--- a/src/x.h
+++ b/src/x.h
@@ -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;