Date: Thu, 15 Jan 2026 14:53:01 +0000 From: Hiroki Tagato <tagattie@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ff1cf76fa9ee - main - x11/ashell: Fix disappearance on HDMI display reconnect/power-on Message-ID: <6968ff4d.239f6.33d2acff@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff1cf76fa9ee49546cd4d428ee97b120d8dbb0ef commit ff1cf76fa9ee49546cd4d428ee97b120d8dbb0ef Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2026-01-15 14:51:20 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2026-01-15 14:52:53 +0000 x11/ashell: Fix disappearance on HDMI display reconnect/power-on When an HDMI display is reconnected/powered-on after disconnection/power-off, ashell status bar disappears while the process is still running. By changing the event (Created -> InfoUpdate) used for triggering redraw of status bar appears to solve the problem. --- x11/ashell/Makefile | 1 + x11/ashell/files/patch-src_app.rs | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/x11/ashell/Makefile b/x11/ashell/Makefile index 6b736f034bd8..08e9d615f352 100644 --- a/x11/ashell/Makefile +++ b/x11/ashell/Makefile @@ -1,5 +1,6 @@ PORTNAME= ashell DISTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org diff --git a/x11/ashell/files/patch-src_app.rs b/x11/ashell/files/patch-src_app.rs new file mode 100644 index 000000000000..9160c7ed19ef --- /dev/null +++ b/x11/ashell/files/patch-src_app.rs @@ -0,0 +1,18 @@ +--- src/app.rs.orig 2025-12-22 19:47:14 UTC ++++ src/app.rs +@@ -378,12 +378,9 @@ impl App { + } + }, + Message::OutputEvent((event, wl_output)) => match event { +- iced::event::wayland::OutputEvent::Created(info) => { +- info!("Output created: {info:?}"); +- let name = info +- .as_ref() +- .and_then(|info| info.description.as_deref()) +- .unwrap_or(""); ++ iced::event::wayland::OutputEvent::InfoUpdate(info) => { ++ info!("Output updated: {info:?}"); ++ let name = info.description.as_deref().unwrap_or(""); + + self.outputs.add( + self.theme.bar_style,home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6968ff4d.239f6.33d2acff>
