Fixed Control Center not using layer shell config option

This commit is contained in:
Erik Reider
2023-05-14 15:34:41 +02:00
committed by GitHub
parent 81613a2554
commit b91e39c1aa

View File

@@ -27,8 +27,8 @@ namespace SwayNotificationCenter {
public SwayncDaemon () {
// Init noti_daemon
this.noti_daemon = new NotiDaemon (this);
this.use_layer_shell = ConfigModel.instance.layer_shell;
this.noti_daemon = new NotiDaemon (this);
Bus.own_name (BusType.SESSION, "org.freedesktop.Notifications",
BusNameOwnerFlags.NONE,
on_noti_bus_aquired,