From 12590f689aaaf5d7ce366966b72c3ac6f7b7b85e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 16 Jan 2024 20:42:39 +0400 Subject: Write a comment on xdg-decoration lack of live-reload --- src/niri.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/niri.rs b/src/niri.rs index 4bd99e25..082a68eb 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -634,8 +634,12 @@ impl State { self.backend.on_output_config_changed(&mut self.niri); } + // Can't really update xdg-decoration settings since we have to hide the globals for CSD + // due to the SDL2 bug... I don't imagine clients are prepared for the xdg-decoration + // global suddenly appearing? Either way, right now it's live-reloaded in a sense that new + // clients will use the new xdg-decoration setting. + self.niri.queue_redraw_all(); - // FIXME: apply xdg decoration settings. } #[cfg(feature = "xdp-gnome-screencast")] -- cgit