From c56e136359a8042a902543a46eed395c230a3662 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 15 Jan 2025 21:14:14 +1100
Subject: fix menus

Menu windows have the .popup class for some reason, so change name
---
 utils/widgets.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'utils/widgets.tsx')

diff --git a/utils/widgets.tsx b/utils/widgets.tsx
index 562f1ec..4257060 100644
--- a/utils/widgets.tsx
+++ b/utils/widgets.tsx
@@ -63,7 +63,7 @@ export const convertPopupWindowProps = (props: Widget.WindowProps): Widget.Windo
         ? overrideProp(props.name, n => (n && props.monitor ? n + props.monitor : undefined))
         : props.name,
     namespace: overrideProp(props.name, n => `caelestia-${n}`),
-    className: overrideProp(props.className, c => `popup ${c}`),
+    className: overrideProp(props.className, c => `popup-window ${c}`),
     onKeyPressEvent: (self, event) => {
         // Close window on escape
         if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide();
-- 
cgit v1.2.3-freya

