diff --git a/src/shared/window/applet_window.py b/src/shared/window/applet_window.py index 818579c..186ff10 100644 --- a/src/shared/window/applet_window.py +++ b/src/shared/window/applet_window.py @@ -8,10 +8,10 @@ from shared.window.popup_win import PopupWindow # noqa: E402 class DismissLayer(Window): def __init__(self, on_dismiss, **kwargs): - self.event_box = EventBox() + self.event_box = EventBox(events=["button-press"]) super().__init__( anchor="left right top bottom", - layer="overlay", + layer="top", exclusivity="none", keyboard_mode="none", child=self.event_box, diff --git a/src/shared/window/dropdown.py b/src/shared/window/dropdown.py index 1809dee..64c9b03 100644 --- a/src/shared/window/dropdown.py +++ b/src/shared/window/dropdown.py @@ -47,7 +47,7 @@ class ModusDropdown(AppletWindow): self.child_box = CenterBox(start_children=[self.dropdown]) self.event_box = EventBox( - events=["enter-notify-event", "leave-notify-event"], + events=["enter-notify", "leave-notify"], child=self.child_box, all_visible=True, )