From: tokyo4j Date: Fri, 8 Nov 2024 12:01:06 +0000 (+0900) Subject: action.c: fix style X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=6d53b5a864d25d2b58a8ab406a2c51413082ecec;p=proto%2Flabwc.git action.c: fix style --- diff --git a/src/action.c b/src/action.c index 3df81df2..9da1b796 100644 --- a/src/action.c +++ b/src/action.c @@ -716,9 +716,9 @@ show_menu(struct server *server, struct view *view, struct cursor_context *ctx, } /* keep menu from being off screen */ x = MAX(x, 0); - x = MIN(x, (output->usable_area.width -1)); + x = MIN(x, output->usable_area.width - 1); y = MAX(y, 0); - y = MIN(y, (output->usable_area.height -1)); + y = MIN(y, output->usable_area.height - 1); /* adjust for which monitor to appear on */ x += output->usable_area.x; y += output->usable_area.y;