aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp')
-rw-r--r--src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp
index a9d40554..a8f94680 100644
--- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp
+++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp
@@ -21,6 +21,16 @@ void RRSettings::ApplyPrevious(){
RRSettings::Apply(screens);
}
+void RRSettings::MirrorAll(){
+ QList<ScreenInfo> screens;
+ //Now find the highest resolution supported by all connected monitors
+
+ //Setup one monitor with that resolution, and mirror the rest of them
+
+ //Now reset the display with xrandr
+ RRSettings::Apply(screens);
+}
+
//Read the current screen config from xrandr
QList<ScreenInfo> RRSettings::CurrentScreens(){
QList<ScreenInfo> SCREENS;
bgstack15