summary refs log tree commit diff
path: root/src/TextInputWidget.cc
diff options
context:
space:
mode:
authorJani Mustonen <janijohannes@kapsi.fi>2017-11-03 08:54:17 +0200
committermujx <mujx@users.noreply.github.com>2017-11-03 08:54:17 +0200
commit13cb0521fa4fd692f66a89c83ef17b7e3ea339bb (patch)
tree632e0721e88b301e2ed7b45a10e9f48bf18004f6 /src/TextInputWidget.cc
parentUpdate issue template (diff)
downloadnheko-13cb0521fa4fd692f66a89c83ef17b7e3ea339bb.tar.xz
Improvements to the quick switcher (#109)
- Ghetto disambiguation for the quick switcher
- Fix the Ctrl+K shortcut
- Fix keyboard focus when the quick switcher is closed

fixes #114
Diffstat (limited to 'src/TextInputWidget.cc')
-rw-r--r--src/TextInputWidget.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/TextInputWidget.cc b/src/TextInputWidget.cc

index 7ebef6b1..e68b1c28 100644 --- a/src/TextInputWidget.cc +++ b/src/TextInputWidget.cc
@@ -259,3 +259,9 @@ TextInputWidget::stopTyping() { input_->stopTyping(); } + +void +TextInputWidget::focusInEvent(QFocusEvent *event) +{ + input_->setFocus(event->reason()); +}