summaryrefslogtreecommitdiffstats
path: root/src/xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xx.h')
-rw-r--r--src/xx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xx.h b/src/xx.h
index 53d3507..ce522d8 100644
--- a/src/xx.h
+++ b/src/xx.h
@@ -68,7 +68,7 @@ public:
void initModes();
ScreenMode getCurrentMode();
bool hasScreenWithoutEdid();
- ConfigBackup setDefaultMode(bool dryRun, ScreenMode &mode);
+ ConfigBackup setDefaultMode(ScreenMode &mode);
bool createMode(unsigned int resX, unsigned int resY, float refresh, QString name);
ConfigBackup setCenteredClone();
ConfigBackup setClone(const QSize &resolution);
@@ -78,6 +78,7 @@ public:
int queryCurrentOutputCount() const;
QMap<QString, ScreenInfo> getScreenPositions() const;
const ResolutionVector &getVirtualResolutions() const;
+ bool runXrandr(QStringList &cmd);
// Singleton
inline static ScreenSetup* inst() {