useful sorting of resolutions
[lilass.git] / lilass
diff --git a/lilass b/lilass
index f532b01064e8e9545e6bb0909bd7c70e8a8efb4d..85ccc99be2687a32d5a9fa8057047290f2f4185b 100755 (executable)
--- a/lilass
+++ b/lilass
@@ -141,7 +141,7 @@ if __name__ == "__main__":
                 if setup is None: sys.exit(1) # the user canceled
         else:
             # use first resolution of internal connector
-            setup = screen.ScreenSetup(intResolution = situation.internalConnector.getPreferredResolution(), extResolution = None)
+            setup = screen.ScreenSetup(intResolution = situation.internalConnector.getResolutionList()[0], extResolution = None)
         
         # call xrandr
         xrandrCall = situation.forXrandr(setup)