mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
action.c: fix style
This commit is contained in:
parent
0aaa2e0102
commit
6d53b5a864
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue