From 120ef46ea296729baee0c88c046008d8e18644fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 May 2013 22:25:21 +0300 Subject: Add ability to show onscreen keyboard if input field focused. --- src/client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index f02759c01..8dd2e663a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -298,7 +298,8 @@ Client::Client(const Options &options) : mFpsManager(), mSkin(nullptr), mButtonPadding(1), - mButtonSpacing(3) + mButtonSpacing(3), + mKeyboardHeight(0) { mInstance = this; @@ -2931,7 +2932,7 @@ void Client::windowRemoved(const Window *const window) void Client::updateScreenKeyboard(int height A_UNUSED) { -// logger->log("keyboard height: %d", height); + instance()->mKeyboardHeight = height; } void Client::checkConfigVersion() -- cgit v1.2.3-60-g2f50