Skip to content

Commit

Permalink
notification example: fix implicit destroy
Browse files Browse the repository at this point in the history
the notificationsMap holds references to the notification widgets,
therefore the box should not destroy the widgets in the bind
  • Loading branch information
kotontrion committed Jan 13, 2025
1 parent 6fd7ae5 commit cac0fc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function NotificationPopups(gdkmonitor: Gdk.Monitor) {
gdkmonitor={gdkmonitor}
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={TOP | RIGHT}>
<box vertical>
<box vertical noImplicitDestroy>
{bind(notifs)}
</box>
</window>
Expand Down

0 comments on commit cac0fc6

Please sign in to comment.