aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-01-16 20:42:39 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-16 20:43:28 +0400
commit12590f689aaaf5d7ce366966b72c3ac6f7b7b85e (patch)
treeef22ffdc525992ff0dc624c302847586654d5d9b /src
parent4656332d0781515f601e3a81690dfc1ee5bcc5c3 (diff)
downloadniri-12590f689aaaf5d7ce366966b72c3ac6f7b7b85e.tar.gz
niri-12590f689aaaf5d7ce366966b72c3ac6f7b7b85e.tar.bz2
niri-12590f689aaaf5d7ce366966b72c3ac6f7b7b85e.zip
Write a comment on xdg-decoration lack of live-reload
Diffstat (limited to 'src')
-rw-r--r--src/niri.rs6
1 files changed, 5 insertions, 1 deletions
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")]