From 571f97976ce783951f2fadd7c43733b19c6a274a Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Fri, 23 Jan 2015 00:46:09 -0700 Subject: [PATCH] Find and use preferred resolution --- xrandr_configure_outputs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xrandr_configure_outputs.py b/xrandr_configure_outputs.py index fcd67f1..7b7f03a 100644 --- a/xrandr_configure_outputs.py +++ b/xrandr_configure_outputs.py @@ -56,11 +56,11 @@ class OutputInfo(): token += 1 if len(size) == 4: self.enabled = True - self.width = int(size[0]) - self.height = int(size[1]) - self.posx = int(size[2]) - self.posy = int(size[3]) - elif self.connected and not self.enabled: + #self.width = int(size[0]) + #self.height = int(size[1]) + #self.posx = int(size[2]) + #self.posy = int(size[3]) + elif self.connected and self.width < 0: size = re.split('x', tokens[0]) if len(size) == 2: self.width = int(size[0]) -- 2.39.2