summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-26 14:04:16 +0100
committerMattias Andrée <maandree@operamail.com>2014-10-26 14:04:16 +0100
commit40c103dfe56bbf600aa27f2d515cbe6c4c304617 (patch)
tree2a2c11756e5422f0498482692ce94d43cb0cc9ca
parentderp (diff)
downloadblueshift-40c103dfe56bbf600aa27f2d515cbe6c4c304617.tar.gz
blueshift-40c103dfe56bbf600aa27f2d515cbe6c4c304617.tar.bz2
blueshift-40c103dfe56bbf600aa27f2d515cbe6c4c304617.tar.xz
fix issue #13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/adhoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adhoc.py b/src/adhoc.py
index 0751b1a..58e1d78 100644
--- a/src/adhoc.py
+++ b/src/adhoc.py
@@ -96,7 +96,7 @@ if continuous:
## Set monitor control
output_ = []
for o in output:
- output_ += o.split(',')
+ output_ += [int(x) for x in o.split(',')]
# Use selected CRTC:s (all if none are selected)
# in the first screen or graphics card.
monitor_controller = lambda : (drm if ttymode else randr)(*output_)