From ddaca80d2ad057605bec13523a4eeef46bcff564 Mon Sep 17 00:00:00 2001 From: nicolas3121 Date: Tue, 16 Apr 2024 23:00:19 +0200 Subject: [PATCH] remove spaces --- src/action.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/action.c b/src/action.c index 3f579093..6edfd457 100644 --- a/src/action.c +++ b/src/action.c @@ -762,7 +762,7 @@ actions_run(struct view *activator, struct server *server, struct view *closest_view = NULL; int min_distance = INT_MAX; for_each_view(v, &server->views, - LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) { + LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) { if (v->minimized) { continue; } @@ -770,9 +770,9 @@ actions_run(struct view *activator, struct server *server, dy = v->current.y - view->current.y; distance = dx * dx + dy * dy; if ((direction == VIEW_EDGE_UP && dy >= 0) - || (direction == VIEW_EDGE_LEFT && dx >= 0) - || (direction == VIEW_EDGE_DOWN && dy <= 0) - || (direction == VIEW_EDGE_RIGHT && dx <= 0)) { + || (direction == VIEW_EDGE_LEFT && dx >= 0) + || (direction == VIEW_EDGE_DOWN && dy <= 0) + || (direction == VIEW_EDGE_RIGHT && dx <= 0)) { continue; } if (distance < min_distance) {