From 250c3076fb90585fb14c20c314f39c29d9d19b5d Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 3 Jun 2024 02:11:47 -0400 Subject: [PATCH] Fixed another segfault. Do not write code at 4 am. --- internal/system/box.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/system/box.go b/internal/system/box.go index e419246..5b03d28 100644 --- a/internal/system/box.go +++ b/internal/system/box.go @@ -191,7 +191,7 @@ func (this *box) SetDNDAccept (types ...data.Mime) { } func (this *box) SetFocused (focused bool) { - hierarchy := this.parent.getHierarchy() + hierarchy := this.getHierarchy() if hierarchy == nil { focusedCopy := focused this.focusQueued = &focusedCopy