From bfcce3ff75017aa8a4306cae88a4f31d9cc7238c Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sun, 3 Nov 2024 03:07:02 +0900 Subject: system/dbus: buffer xdg-dbus-proxy messages Pointing xdg-dbus-proxy to stdout/stderr makes a huge mess. This change enables app to neatly print out prefixed xdg-dbus-proxy messages after output is resumed. Signed-off-by: Ophestra Umiker --- internal/app/seal.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/app/seal.go') diff --git a/internal/app/seal.go b/internal/app/seal.go index 502ec6e2..ca7048b7 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -41,6 +41,8 @@ type appSeal struct { id string // wayland mediation, disabled if nil wl *shim.Wayland + // dbus proxy message buffer retriever + dbusMsg func(f func(msgbuf []string)) // freedesktop application ID fid string -- cgit v1.3.1