diff options
author | Yann Droneaud <ydroneaud@mandriva.com> | 2009-11-17 15:39:02 +0100 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2010-01-08 15:38:15 +0100 |
commit | ccb3f8a42b25819cd1812f179544b52c2f03d1aa (patch) | |
tree | cab920f24345a5127d3750e297365d0ed10a5487 | |
parent | 1f8e27cd71560c154f6b1f7472ae2518f5df10e0 (diff) |
xrandr: Remove --clone / --extend support code
Code handling --clone and --extend is not used.
The usage message regarding those options was already commented out.
Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Acked-by: Matthias Hopf <mhopf@suse.de>
-rw-r--r-- | xrandr.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -111,10 +111,6 @@ usage(void) fprintf(stderr, " --fb <width>x<height>\n"); fprintf(stderr, " --fbmm <width>x<height>\n"); fprintf(stderr, " --dpi <dpi>/<output>\n"); -#if 0 - fprintf(stderr, " --clone\n"); - fprintf(stderr, " --extend\n"); -#endif fprintf(stderr, " --output <output>\n"); fprintf(stderr, " --auto\n"); fprintf(stderr, " --mode <mode>\n"); @@ -203,11 +199,6 @@ reflection_name (Rotation rotation) return "invalid reflection"; } -typedef enum _policy { - policy_clone, - policy_extend -} policy_t; - typedef enum _relation { relation_left_of, relation_right_of, @@ -2066,7 +2057,6 @@ main (int argc, char **argv) Bool have_pixel_size = False; int ret = 0; output_t *output = NULL; - policy_t policy = policy_clone; Bool setit_1_2 = False; Bool query_1_2 = False; Bool modeit = False; @@ -2456,18 +2446,6 @@ main (int argc, char **argv) action_requested = True; continue; } - if (!strcmp ("--clone", argv[i])) { - policy = policy_clone; - setit_1_2 = True; - action_requested = True; - continue; - } - if (!strcmp ("--extend", argv[i])) { - policy = policy_extend; - setit_1_2 = True; - action_requested = True; - continue; - } if (!strcmp ("--auto", argv[i])) { if (output) { |