From 858e273164bd1e4675c591b0f561c0855949d5dd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 4 Apr 2014 15:23:18 +0200 Subject: fix double free error and sigfault error in multi-display support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/comprehensive | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/comprehensive b/examples/comprehensive index 41b0137..dcde526 100644 --- a/examples/comprehensive +++ b/examples/comprehensive @@ -90,8 +90,8 @@ download_command = None # Method for applying colour curves in X. -apply_curves_x = randr -#apply_curves_x = vidmode +#apply_curves_x = randr +apply_curves_x = vidmode # Method for applying colour curves in TTY. apply_curves_tty_ = drm @@ -131,7 +131,7 @@ def apply_curves(*crtcs, screen = 0): @param screen:int The screen to which the monitors belong ''' # Single display and single server, variant: - #(apply_curves_tty if ttymode apply_curves_x)(*crtcs, screen = screen) + (apply_curves_tty if ttymode apply_curves_x)(*crtcs, screen = screen) # Variant for TTY and all X display: #apply_curves_tty(*crtcs, screen = screen) @@ -144,9 +144,9 @@ def apply_curves(*crtcs, screen = 0): # pass # Variant for TTY and selected X displays: - apply_curves_tty(*crtcs, screen = screen) - for display in [None, ':1']: # Current and :1 - apply_curves_x(*crtcs, screen = screen, display = display) + #apply_curves_tty(*crtcs, screen = screen) + #for display in [None, ':1']: # Current and :1 + # apply_curves_x(*crtcs, screen = screen, display = display) # Keep uncomment to use solar position. -- cgit v1.2.3-70-g09d2