summarylogtreecommitdiffstats
path: root/waimea.patch
blob: 8c8a6cf3a75618efd8928c7148cba368a1251535 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
diff -up src/waimea-0.4.0/src/Resources.cc.orig src/waimea-0.4.0/src/Resources.cc
--- src/waimea-0.4.0/src/Resources.cc.orig	2002-11-06 04:55:10.000000000 -0700
+++ src/waimea-0.4.0/src/Resources.cc	2013-09-10 21:15:30.000000000 -0600
@@ -1568,7 +1568,7 @@ void ResourceHandler::LoadActions(WaScre
                                                            NULL);
                             str = str + i3 + 1;
                             ReadActions((char *) buffer2, defs, &wacts,
-                                        &ext_list->list, wascreen);
+                                        &ext_list->alist, wascreen);
                         }
                         else if (str[0] == 'n' && str[1] == '/') {
                             for (i3 = 2; str[i3] != '\0' &&
@@ -1583,7 +1583,7 @@ void ResourceHandler::LoadActions(WaScre
                                                            NULL);
                             str = str + i3 + 1;
                             ReadActions((char *) buffer2, defs, &wacts,
-                                        &ext_list->list, wascreen);
+                                        &ext_list->alist, wascreen);
                         }
                         else if (str[0] == 't' && str[1] == '/') {
                             for (i3 = 2; str[i3] != '\0' &&
@@ -1598,7 +1598,7 @@ void ResourceHandler::LoadActions(WaScre
                                                            str + 2);
                             str = str + i3 + 1;
                             ReadActions((char *) buffer2, defs, &wacts,
-                                        &ext_list->list, wascreen);
+                                        &ext_list->alist, wascreen);
                         }
                         else if (! strncasecmp(str, "window", 6)) {
                             str = str + 6;
diff -up src/waimea-0.4.0/src/Resources.hh.orig src/waimea-0.4.0/src/Resources.hh
--- src/waimea-0.4.0/src/Resources.hh.orig	2002-11-06 04:55:10.000000000 -0700
+++ src/waimea-0.4.0/src/Resources.hh	2013-09-10 21:11:05.000000000 -0600
@@ -193,13 +193,13 @@ public:
         delete name;
         delete cl;
         delete title;
-        ACTLISTCLEAR(list);
+        ACTLISTCLEAR(alist);
     }
     
     Regex *name;
     Regex *cl;
     Regex *title;
-    list<WaAction *> list;
+    list<WaAction *> alist;
 };
 
 class StrComp {
diff -up src/waimea-0.4.0/src/Window.cc.orig src/waimea-0.4.0/src/Window.cc
--- src/waimea-0.4.0/src/Window.cc.orig	2002-11-06 04:55:10.000000000 -0700
+++ src/waimea-0.4.0/src/Window.cc	2013-09-10 21:12:29.000000000 -0600
@@ -280,13 +280,13 @@ list <WaAction *> *WaWindow::GetActionLi
         if (classhint) {
             if (classhint->res_name &&
                 (*it)->name->Match(classhint->res_name))
-                return &((*it)->list);
+                return &((*it)->alist);
             else if (classhint->res_class &&
                      (*it)->cl->Match(classhint->res_class))
-                return &((*it)->list);
+                return &((*it)->alist);
         }
         if ((*it)->title->Match(name))
-            return &((*it)->list);
+            return &((*it)->alist);
     }
     return NULL;
 }