Dash:
[t2.git] / package / gnome / sawfish / hotfix-fno-common.patch
blob73f58be99eea1b52c320aa1ce29a9e6300154388
1 --- a/src/functions.c
2 +++ b/src/functions.c
3 @@ -65,7 +65,7 @@
4 # endif
5 #endif
7 -DEFSYM(root, "root");
8 +extern DEFSYM(root, "root");
9 DEFSYM(after_restacking_hook, "after-restacking-hook");
10 DEFSYM(position, "position");
11 DEFSYM(spacing, "spacing");
12 --- a/src/flippers.c
13 +++ b/src/flippers.c
14 @@ -22,10 +22,10 @@
16 static Window edge_left, edge_right, edge_top, edge_bottom;
18 -DEFSYM(left, "left");
19 -DEFSYM(right, "right");
20 -DEFSYM(top, "top");
21 -DEFSYM(bottom, "bottom");
22 +extern DEFSYM(left, "left");
23 +extern DEFSYM(right, "right");
24 +extern DEFSYM(top, "top");
25 +extern DEFSYM(bottom, "bottom");
26 DEFSYM(enter_flipper_hook, "enter-flipper-hook");
27 DEFSYM(leave_flipper_hook, "leave-flipper-hook");
29 --- a/src/windows.c
30 +++ b/src/windows.c
31 @@ -75,7 +75,7 @@
32 DEFSYM(north, "north");
33 DEFSYM(north_east, "north-east");
34 DEFSYM(west, "west");
35 -DEFSYM(center, "center");
36 +extern DEFSYM(center, "center");
37 DEFSYM(east, "east");
38 DEFSYM(south_west, "south-west");
39 DEFSYM(south, "south");