1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 02:31:04 +02:00

fix: not setting layer shell namespace

This commit is contained in:
Jake Stanger 2023-02-02 20:36:31 +00:00
parent 82875cde68
commit 2ac507144b
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
2 changed files with 2 additions and 0 deletions

View file

@ -84,6 +84,7 @@ fn setup_layer_shell(
gtk_layer_shell::set_monitor(win, monitor);
gtk_layer_shell::set_layer(win, gtk_layer_shell::Layer::Top);
gtk_layer_shell::auto_exclusive_zone_enable(win);
gtk_layer_shell::set_namespace(win , env!("CARGO_PKG_NAME"));
gtk_layer_shell::set_margin(win, gtk_layer_shell::Edge::Top, 0);
gtk_layer_shell::set_margin(win, gtk_layer_shell::Edge::Bottom, 0);