summaryrefslogtreecommitdiff
path: root/utils/widgets.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 21:14:14 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 21:14:14 +1100
commitc56e136359a8042a902543a46eed395c230a3662 (patch)
tree0b31e215eb61285eebb69e5e0c7d5536c8290343 /utils/widgets.tsx
parentbrightness and volume osds (diff)
downloadcaelestia-shell-c56e136359a8042a902543a46eed395c230a3662.tar.gz
caelestia-shell-c56e136359a8042a902543a46eed395c230a3662.tar.bz2
caelestia-shell-c56e136359a8042a902543a46eed395c230a3662.zip
fix menus
Menu windows have the .popup class for some reason, so change name
Diffstat (limited to 'utils/widgets.tsx')
-rw-r--r--utils/widgets.tsx2
1 files changed, 1 insertions, 1 deletions
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();