]> git.mdlowis.com Git - proto/labwc.git/commitdiff
action.c: fix style
authortokyo4j <hrak1529@gmail.com>
Fri, 8 Nov 2024 12:01:06 +0000 (21:01 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 8 Nov 2024 21:33:34 +0000 (21:33 +0000)
src/action.c

index 3df81df2be7eb404d2affeb63015c76e3c0ce339..9da1b796fb5474044f47f9767eab8b7cc9192465 100644 (file)
@@ -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;