on xenial help sign in
only displace when windowed and normalized
a5cacc8Michael Zanetti
qml/Stages/DesktopStage.qml+1−1
@@ -274,7 +274,7 @@ AbstractStage {
274 value: appDelegate.requestedY -
274 value: appDelegate.requestedY -
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
277− when: appDelegate.focus
277+ when: appDelegate.focus && state == "normal"
278 && SurfaceManager.inputMethodSurface
278 && SurfaceManager.inputMethodSurface
279 && SurfaceManager.inputMethodSurface.state != Mir.HiddenState
279 && SurfaceManager.inputMethodSurface.state != Mir.HiddenState
280 && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState
280 && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState