summaryrefslogtreecommitdiffstats
path: root/main/xrandr/xrandr-1.3.0-clone-nameclash.patch
blob: 55af5590c40860fbb27ba3923f2e5c9c30f636b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- xrandr-1.3.0/xrandr.c.orig	2009-04-10 12:26:02.000000000 +0000
+++ xrandr-1.3.0/xrandr.c	2009-04-10 12:43:44.000000000 +0000
@@ -209,7 +209,7 @@
 
 #if HAS_RANDR_1_2
 typedef enum _policy {
-    clone, extend
+    p_clone, extend
 } policy_t;
 
 typedef enum _relation {
@@ -2027,7 +2027,7 @@
     int		ret = 0;
 #if HAS_RANDR_1_2
     output_t	*output = NULL;
-    policy_t	policy = clone;
+    policy_t	policy = p_clone;
     Bool    	setit_1_2 = False;
     Bool    	query_1_2 = False;
     Bool	modeit = False;
@@ -2401,7 +2401,7 @@
 	    continue;
 	}
 	if (!strcmp ("--clone", argv[i])) {
-	    policy = clone;
+	    policy = p_clone;
 	    setit_1_2 = True;
 	    continue;
 	}