diff options
Diffstat (limited to 'src/xprivate.cpp')
-rw-r--r-- | src/xprivate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xprivate.cpp b/src/xprivate.cpp index 370c6f5..01f265f 100644 --- a/src/xprivate.cpp +++ b/src/xprivate.cpp @@ -652,7 +652,7 @@ void XPrivate::setOutputResolution(QStringList &args, OutputInfo *oi, int x, int // so we just pick the first one for now, as the GUI doesn't offer picking the rate XRRModeInfo *best = _modeMap[modes.first()]; args << "--output" << oi->outputName << "--mode" << best->name << "--rate" << QString::number(toVertRefresh(best), 'f', 2); - args << "--x" << QString::number(x) << "--y" << QString::number(y); + args << "--pos" << QString::asprintf("%dx%d", x, y); if (x == 0 && y == 0 && !args.contains(QLatin1String("--primary"))) { args.append("--primary"); } |