diff options
Diffstat (limited to 'src/ui/lookupwidget.c')
-rw-r--r-- | src/ui/lookupwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/lookupwidget.c b/src/ui/lookupwidget.c index b06523f9..3eafd4bd 100644 --- a/src/ui/lookupwidget.c +++ b/src/ui/lookupwidget.c | |||
@@ -662,7 +662,7 @@ static iBool processEvent_LookupWidget_(iLookupWidget *d, const SDL_Event *ev) { | |||
662 | setPos_Widget(w, windowToLocal_Widget(w, bottomLeft_Rect(bounds_Widget(url)))); | 662 | setPos_Widget(w, windowToLocal_Widget(w, bottomLeft_Rect(bounds_Widget(url)))); |
663 | #if defined (iPlatformAppleMobile) | 663 | #if defined (iPlatformAppleMobile) |
664 | /* Adjust height based on keyboard size. */ { | 664 | /* Adjust height based on keyboard size. */ { |
665 | w->rect.size.y = visibleRootSize_Window(window).y - top_Rect(bounds_Widget(w)); | 665 | w->rect.size.y = visibleSize_Root(root).y - top_Rect(bounds_Widget(w)); |
666 | if (deviceType_App() == phone_AppDeviceType) { | 666 | if (deviceType_App() == phone_AppDeviceType) { |
667 | float l, r; | 667 | float l, r; |
668 | safeAreaInsets_iOS(&l, NULL, &r, NULL); | 668 | safeAreaInsets_iOS(&l, NULL, &r, NULL); |