This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.

View the commit online.

commit 4342f20d4c84a70024fb46ec71789afceff65077
Author: Kim Woelders <[email protected]>
AuthorDate: Sat Aug 15 12:04:00 2026 +0200

    snaps: Fix potential crash in title match feature
    
    Weirdness could happen if the match changes the border.
---
 src/snaps.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/snaps.c b/src/snaps.c
index 2845bc5f..f6e24420 100644
--- a/src/snaps.c
+++ b/src/snaps.c
@@ -1512,7 +1512,12 @@ SnapshotEwinApply(EWin *ewin, int now)
         ewin->state.shaded = sn->shaded;
 
     if (use_flags & SNAP_USE_BORDER)
-        EwinBorderSetInitially(ewin, sn->border_name);
+    {
+        if (now)
+            EwinOpSetBorder(ewin, OPSRC_NA, sn->border_name);
+        else
+            EwinBorderSetInitially(ewin, sn->border_name);
+    }
 
     if (use_flags & SNAP_USE_GROUPS)
         GroupsEwinAdd(ewin, sn->groups, sn->num_groups);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to