diff --git a/patches/sowm-primitive-multimonitor.patch b/patches/sowm-primitive-multimonitor.patch index 4d48b0a..c3f9405 100644 --- a/patches/sowm-primitive-multimonitor.patch +++ b/patches/sowm-primitive-multimonitor.patch @@ -13,7 +13,7 @@ diff --git a/sowm.c b/sowm.c index 0cc1293..27c51ce 100644 --- a/sowm.c +++ b/sowm.c -@@ -4,9 +4,11 @@ +@@ -4,9 +4,10 @@ #include #include #include @@ -21,7 +21,6 @@ index 0cc1293..27c51ce 100644 #include #include #include -+#include typedef union { const char** com; @@ -45,11 +44,11 @@ index 0cc1293..27c51ce 100644 if (cur) XKillClient(d, cur->w); } -+bool coords_in_box (int x, int y, int box_x, int box_y, int box_w, int box_h) { ++int coords_in_box (int x, int y, int box_x, int box_y, int box_w, int box_h) { + if ((x >= box_x && x < box_x + box_w) && (y >= box_y && y < box_y + box_h)) -+ return true; ++ return 1; + else -+ return false; ++ return 0; +} + void win_center() {