From 197eabf26150c6a2e26eae8f54aeba64950a4100 Mon Sep 17 00:00:00 2001 From: nicolas3121 Date: Sat, 20 Apr 2024 11:16:00 +0200 Subject: [PATCH] removed redundant check --- src/action.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/action.c b/src/action.c index 10edafc6..51edf5b7 100644 --- a/src/action.c +++ b/src/action.c @@ -687,9 +687,6 @@ directional_target_window(struct view *view, struct server *server, if (v->minimized) { continue; } - if (v == view) { - continue; - } dx = v->current.x + v->current.width/2 - cx; dy = v->current.y + v->current.height/2 - cy; distance = dx * dx + dy * dy;