summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-04 14:24:00 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-04 14:24:00 +0200
commit73627c39253f8a0c4d4e344da4cb1fc0d3b64a2e (patch)
treeb28c8625c9d33e6d7be578fe56b95c3cf7d03a93
parentdocument multi-display support on list_screens, get_current_icc and get_current_icc_raw (diff)
downloadblueshift-73627c39253f8a0c4d4e344da4cb1fc0d3b64a2e.tar.gz
blueshift-73627c39253f8a0c4d4e344da4cb1fc0d3b64a2e.tar.bz2
blueshift-73627c39253f8a0c4d4e344da4cb1fc0d3b64a2e.tar.xz
add display to print_curves for compatibility
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/monitor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py
index d115d40..2cb7c18 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -230,12 +230,13 @@ def drm(*crtcs, screen = 0, display = None):
pass # Happens on exit by TERM signal
-def print_curves(*crtcs, screen = 0, compact = False):
+def print_curves(*crtcs, screen = 0, display = None compact = False):
'''
Prints the curves to stdout
@param crtcs:*int Dummy parameter
@param screen:int Dummy parameter
+ @param display:str? Dummy parameter
@param compact:bool Whether to print in compact form
'''
# Convert curves to [0, 0xFFFF] integer lists