From 40c103dfe56bbf600aa27f2d515cbe6c4c304617 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Oct 2014 14:04:16 +0100 Subject: fix issue #13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/adhoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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_) -- cgit v1.2.3-70-g09d2