summaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-17 02:07:15 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-17 02:07:15 +0100
commit085bb0fa5f477b022b96f3b07cd2a2fb74e70729 (patch)
tree295f13662fae535b97871c256bbb3c93b8470252 /src/monitor.py
parentm todo (diff)
downloadblueshift-085bb0fa5f477b022b96f3b07cd2a2fb74e70729.tar.gz
blueshift-085bb0fa5f477b022b96f3b07cd2a2fb74e70729.tar.bz2
blueshift-085bb0fa5f477b022b96f3b07cd2a2fb74e70729.tar.xz
fix minor bufs + add reset function
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/monitor.py')
-rw-r--r--src/monitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py
index 7df4336..595d2b7 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -61,7 +61,7 @@ def randr(*crtcs):
global randr_opened
crtcs = sum([1 << i for i in list(crtcs)])
if crtcs == 0:
- crtcs = -1;
+ crtcs = (1 << 64) - 1
(R_curve, G_curve, B_curve) = translate_to_integers()
if not randr_opened: