@@ -274,7 +274,7 @@ AbstractStage {
274274 value: appDelegate.requestedY -
275275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
277− when: appDelegate.focus && state == "normal"
277+ when: appDelegate.focus && appDelegate.state == "normal"
278278 && SurfaceManager.inputMethodSurface
279279 && SurfaceManager.inputMethodSurface.state != Mir.HiddenState
280280 && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState