X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=xrandr_configure_outputs.py;fp=xrandr_configure_outputs.py;h=7b7f03a788cd2183e00cf6c3b62c6a2c0130701d;hb=571f97976ce783951f2fadd7c43733b19c6a274a;hp=fcd67f1fe5907e928ccb778404d31fa656586660;hpb=b55560c01779bab6fbce33217ded75645cd5dd5a;p=dispcfg.git 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])