summaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: