summaryrefslogtreecommitdiff
path: root/x11-wm/mangowc/files/patch-src_mango.c
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2025-12-13 11:07:31 +0100
committerNicola Vitale <nivit@FreeBSD.org>2025-12-13 11:07:31 +0100
commit1e1d8134114d80763a910b5d99849ab79e209102 (patch)
treee732d39714f213de44d300b0d0bb30f7d8c71c0d /x11-wm/mangowc/files/patch-src_mango.c
parentnet/realtek-rge-kmod: Use IGNORE_FreeBSD (diff)
x11-wm/mangowc: Add new port
MangoWC is a modern, lightweight, high-performance Wayland compositor built on dwl - crafted for speed, flexibility, and a customizable desktop experience. Feature Highlights - Excellent xwayland support - Base tags not workspaces (supports separate window layouts for each tag) - Smooth and customizable complete animations (window open/move/close, tag enter/leave,layer open/close/move) - Excellent input method support (text input v2/v3) - Flexible window layouts with easy switching (scroller, master-stack, monocle,center-master, etc.) - Rich window states (swallow, minimize, maximize, unglobal, global, fakefullscreen, overlay, etc.) - Simple yet powerful external configuration (support shortcuts hot-reload) - Sway-like scratchpad and named scratchpad - Ipc support (get/send message from/to compositor by external program) - Hycov-like overview - Window effects from scenefx (blur, shadow, corner radius, opacity) https://mangowc.vercel.app
Diffstat (limited to 'x11-wm/mangowc/files/patch-src_mango.c')
-rw-r--r--x11-wm/mangowc/files/patch-src_mango.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-wm/mangowc/files/patch-src_mango.c b/x11-wm/mangowc/files/patch-src_mango.c
new file mode 100644
index 000000000000..3c03410bec14
--- /dev/null
+++ b/x11-wm/mangowc/files/patch-src_mango.c
@@ -0,0 +1,14 @@
+--- src/mango.c.orig 2025-12-03 10:15:56 UTC
++++ src/mango.c
+@@ -6,7 +6,11 @@
+ #include <getopt.h>
+ #include <libinput.h>
+ #include <limits.h>
++#ifdef __FreeBSD__
++#include <dev/evdev/input-event-codes.h>
++#else
+ #include <linux/input-event-codes.h>
++#endif
+ #include <scenefx/render/fx_renderer/fx_renderer.h>
+ #include <scenefx/types/fx/blur_data.h>
+ #include <scenefx/types/fx/clipped_region.h>