Write a comment on xdg-decoration lack of live-reload

This commit is contained in:
Ivan Molodetskikh
2024-01-16 20:42:39 +04:00
parent 4656332d07
commit 12590f689a
+5 -1
View File
@@ -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")]