prefer extending screen to right over left
This commit is contained in:
parent
7d34233076
commit
aa0d694b9a
|
@ -227,12 +227,12 @@ class RandRStateMachine(object):
|
||||||
def NextState(self):
|
def NextState(self):
|
||||||
# if we have a clone, then next pair to the left
|
# if we have a clone, then next pair to the left
|
||||||
if self.IsClone():
|
if self.IsClone():
|
||||||
logging.info('CLONE -> PAIR_LEFT')
|
logging.info('CLONE -> PAIR_RIGHT')
|
||||||
self.SetPairExtLeft()
|
|
||||||
# if we have a pair to the left, then next pair to the right
|
|
||||||
elif self.IsPairExtLeft():
|
|
||||||
logging.info('PAIR_LEFT -> PAIR_RIGHT')
|
|
||||||
self.SetPairExtRight()
|
self.SetPairExtRight()
|
||||||
|
# if we have a pair to the left, then next pair to the right
|
||||||
|
elif self.IsPairExtRight():
|
||||||
|
logging.info('PAIR_RIGHT -> PAIR_LEFT')
|
||||||
|
self.SetPairExtLeft()
|
||||||
# else, just set cloning
|
# else, just set cloning
|
||||||
else:
|
else:
|
||||||
logging.info('UNKNOWN (or PAIR_RIGHT) -> CLONE')
|
logging.info('UNKNOWN (or PAIR_RIGHT) -> CLONE')
|
||||||
|
|
Loading…
Reference in New Issue