git: 046c50fbf21f - 2023Q3 - x11-wm/sway: suggest mac_priority(4) after b22b6eeffd22

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 19:27:23 UTC
The branch 2023Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=046c50fbf21ffaeabd09fbce9f4e36c202c7f4d6

commit 046c50fbf21ffaeabd09fbce9f4e36c202c7f4d6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-13 00:54:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-23 19:25:49 +0000

    x11-wm/sway: suggest mac_priority(4) after b22b6eeffd22
    
    FreeBSD lacks setcap(8) + CAP_SYS_NICE, so permissions to set realtime
    priorities like SCHED_RR are group-wide and disabled by default.
    
    $ sway
    [...]
    00:00:00.024 [INFO] [sway/realtime.c:35] Failed to set scheduling priority to 0
    [...]
    
    https://github.com/swaywm/sway/commit/a3a82efbf6b5
    (cherry picked from commit 4964754e0887621cd09afff61ee86c6c4c7d783b)
---
 x11-wm/sway-devel/pkg-message | 3 +++
 x11-wm/sway/pkg-message       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/x11-wm/sway-devel/pkg-message b/x11-wm/sway-devel/pkg-message
index 9017b1d5a888..c0888f1f4cb7 100644
--- a/x11-wm/sway-devel/pkg-message
+++ b/x11-wm/sway-devel/pkg-message
@@ -1,6 +1,9 @@
 [
 { type: install
   message: <<EOM
+Notes:
+- sway(1) can use mac_priority(4) to avoid stutter during high load
+
 Experimental features:
 - HiDPI support for X11 applications. For instructions see
   https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2064#note_1139855
diff --git a/x11-wm/sway/pkg-message b/x11-wm/sway/pkg-message
index 9017b1d5a888..c0888f1f4cb7 100644
--- a/x11-wm/sway/pkg-message
+++ b/x11-wm/sway/pkg-message
@@ -1,6 +1,9 @@
 [
 { type: install
   message: <<EOM
+Notes:
+- sway(1) can use mac_priority(4) to avoid stutter during high load
+
 Experimental features:
 - HiDPI support for X11 applications. For instructions see
   https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2064#note_1139855