summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2025-06-20 21:32:27 +0200
committerJan Beich <jbeich@FreeBSD.org>2025-06-20 22:05:21 +0200
commitac10ac7d63e8b862b4642f56ebbbc34038c5c627 (patch)
tree01528458b85c24519c90f5fca5e6f06213fa02f9
parent258a81c26a9c3d1d9c5df3bd9a7a53f56d1d14e8 (diff)
x11-toolkits/como: better document mac_priority(4) fix
(cherry picked from commit a5f546cd7757158f4e6fd9d344b2ef003b22bf12)
-rw-r--r--x11-toolkits/como/files/patch-como_base_wayland_app__singleton.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/como/files/patch-como_base_wayland_app__singleton.h b/x11-toolkits/como/files/patch-como_base_wayland_app__singleton.h
index d8da4bb4a97b..74214de3cf54 100644
--- a/x11-toolkits/como/files/patch-como_base_wayland_app__singleton.h
+++ b/x11-toolkits/como/files/patch-como_base_wayland_app__singleton.h
@@ -1,7 +1,10 @@
+Allow using mac_priority(4) to avoid stutter during high load:
- Emulate SCHED_RESET_ON_FORK via pthread_atfork
- Switch to pthread_setschedparam as Linux sched_setscheduler
operates on threads contrary to POSIX
+Similar to picom, sway, hyprland. Also plasma6-kwin but not fixed yet.
+
--- como/base/wayland/app_singleton.h.orig 2024-02-27 13:02:31 UTC
+++ como/base/wayland/app_singleton.h
@@ -19,12 +19,16 @@ class app_singleton : public base::app_singleton (publ