From 33852f1c2ba888392de4d9f1d866264e3c81928d Mon Sep 17 00:00:00 2001
From: Mora Unie Youer <mora_unie_youer@riseup.net>
Date: Thu, 20 Mar 2025 00:29:55 +0300
Subject: fix: show notifications on top of fullscreen windows

---
 widget/notifications/Notifications.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'widget/notifications/Notifications.tsx')

diff --git a/widget/notifications/Notifications.tsx b/widget/notifications/Notifications.tsx
index 6708b96..96d5d03 100644
--- a/widget/notifications/Notifications.tsx
+++ b/widget/notifications/Notifications.tsx
@@ -95,6 +95,8 @@ export default function(gdkmonitor: Gdk.Monitor) {
   return <window
     // NOTE: is required due to last notification being displayed all the time
     visible={bind(notifications).as(v => v.length != 0)}
+    // NOTE: is required to display notifications on top of fullscreen windows on Niri
+    layer={Astal.Layer.OVERLAY}
 
     name={"Notifications"}
     cssClasses={["Notifications"]}
-- 
cgit v1.2.3-70-g09d2

