Skip to content

Commit

Permalink
Merge pull request #8 from pvuorela/follow_hw_keyboard_state
Browse files Browse the repository at this point in the history
Follow hw keyboard state
  • Loading branch information
pvuorela committed Jul 27, 2015
2 parents 3fdead2 + 294f6c8 commit 15f0927
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions maliit-framework/src/mimhwkeyboardtracker.cpp
Expand Up @@ -45,11 +45,9 @@ MImHwKeyboardTrackerPrivate::MImHwKeyboardTrackerPrivate(MImHwKeyboardTracker *q
present(false)
{
#ifdef HAVE_CONTEXTSUBSCRIBER
ContextProperty keyboardPresentProperty(keyboardPresent);
keyboardOpenProperty.reset(new ContextProperty(keyboardOpen));
keyboardPresentProperty.waitForSubscription(true);
keyboardOpenProperty->waitForSubscription(true);
present = keyboardPresentProperty.value().toBool();
present = true; // assume keyboard present as context property currently includes also external keyboards
if (present) {
QObject::connect(keyboardOpenProperty.data(), SIGNAL(valueChanged()),
q_ptr, SIGNAL(stateChanged()));
Expand Down
4 changes: 3 additions & 1 deletion rpm/maliit-framework-wayland.spec
Expand Up @@ -20,6 +20,7 @@ BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(libudev)
BuildRequires: fdupes
BuildRequires: pkgconfig(qt5-boostable)
BuildRequires: pkgconfig(contextkit-statefs)
Requires: mapplauncherd-qt5
Provides: maliit-framework
Conflicts: maliit-framework-x11
Expand Down Expand Up @@ -91,7 +92,8 @@ pushd maliit-framework
CONFIG+=enable-dbus-activation \
CONFIG+=qt5-inputcontext \
CONFIG+=lipstick \
CONFIG+=noxcb
CONFIG+=noxcb \
CONFIG+=enable-contextkit

make %{?jobs:-j%jobs}
popd
Expand Down

0 comments on commit 15f0927

Please sign in to comment.