From b3e57584422e1f3f62669700a2fb184de0837179 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Mon, 4 Apr 2022 09:51:55 +0200 Subject: [PATCH] arrange: Minor tweak in SnapEwin() Use EwinListGetAll() instead of EwinListOrderGet(). ListWinGroupMembersForEwin() uses EwinListGetAll() (i.e. the stacking list) so it seems more consistent to use the same throughout this function. --- src/arrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arrange.c b/src/arrange.c index d3a27bb1..b3aab500 100644 --- a/src/arrange.c +++ b/src/arrange.c @@ -504,7 +504,7 @@ SnapEwin(EWin * ewin, int dx, int dy, int *new_dx, int *new_dy) bottom_bound = top_bound + h; screen_snap_dist = Mode.constrained ? (w + h) : Conf.snap.screen_snap_dist; - lst1 = EwinListOrderGet(&num); + lst1 = EwinListGetAll(&num); if (!lst1) return;