summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-01-16 08:21:16 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-01-16 08:21:16 +0200
commit3a1865d2d14710fda4f97ff83d6147104d9a5ae0 (patch)
treeaa736c3aeb6a476227d777780f9d9c27fe05b0b4 /src
parent916b2926c5907ef885743836bd50c3c1ef721f30 (diff)
Cleanup
Diffstat (limited to 'src')
-rw-r--r--src/ui/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 8bf31c33..bdbbb98e 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -711,8 +711,10 @@ static iBool menuHandler_(iWidget *menu, const char *cmd) {
711 if (deviceType_App() == phone_AppDeviceType && equal_Command(cmd, "keyboard.changed") && 711 if (deviceType_App() == phone_AppDeviceType && equal_Command(cmd, "keyboard.changed") &&
712 arg_Command(cmd) == 0) { 712 arg_Command(cmd) == 0) {
713 /* May need to reposition the menu. */ 713 /* May need to reposition the menu. */
714 menu->rect.pos = windowToLocal_Widget(menu, init_I2(left_Rect(bounds_Widget(menu)), 714 menu->rect.pos = windowToLocal_Widget(
715 bottom_Rect(safeRect_Root(menu->root)) - menu->rect.size.y)); 715 menu,
716 init_I2(left_Rect(bounds_Widget(menu)),
717 bottom_Rect(safeRect_Root(menu->root)) - menu->rect.size.y));
716 return iFalse; 718 return iFalse;
717 } 719 }
718 if (!isCommandIgnoredByMenus_(cmd)) { 720 if (!isCommandIgnoredByMenus_(cmd)) {