From 96e5cedb34c7519e3656810185f30b33dadfd24d Mon Sep 17 00:00:00 2001 From: Yann Droneaud Date: Wed, 4 Nov 2009 14:01:07 +0100 Subject: [PATCH] Disable --clone / --extend support code. Cc: Yann Droneaud This was dead code after all. The usage message regarding those options was already disabled. --- xrandr.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/xrandr.c b/xrandr.c index f7eba11..242ed06 100644 --- a/xrandr.c +++ b/xrandr.c @@ -210,9 +210,11 @@ reflection_name (Rotation rotation) } #if HAS_RANDR_1_2 +#if 0 typedef enum _policy { clone, extend } policy_t; +#endif typedef enum _relation { left_of, right_of, above, below, same_as, @@ -2062,7 +2064,9 @@ main (int argc, char **argv) int ret = 0; #if HAS_RANDR_1_2 output_t *output = NULL; +#if 0 policy_t policy = clone; +#endif Bool setit_1_2 = False; Bool query_1_2 = False; Bool modeit = False; @@ -2436,6 +2440,7 @@ main (int argc, char **argv) setit_1_2 = True; continue; } +#if 0 if (!strcmp ("--clone", argv[i])) { policy = clone; setit_1_2 = True; @@ -2446,6 +2451,7 @@ main (int argc, char **argv) setit_1_2 = True; continue; } +#endif if (!strcmp ("--auto", argv[i])) { if (output) { -- 1.6.0.2