diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/util.c | 6 |
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)) { |