aboutsummaryrefslogtreecommitdiff
path: root/src/findbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.cc')
-rw-r--r--src/findbar.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/findbar.cc b/src/findbar.cc
index cb0b345b..02f9545b 100644
--- a/src/findbar.cc
+++ b/src/findbar.cc
@@ -36,10 +36,10 @@ int MyInput::handle(int e)
unsigned modifier = Fl::event_state() & (FL_SHIFT| FL_CTRL| FL_ALT|FL_META);
if (e == FL_KEYBOARD) {
- if (k == FL_Left || k == FL_Right) {
- if (modifier == FL_SHIFT) {
- a_UIcmd_send_event_to_tabs_by_wid(e, this);
- return 1;
+ if (modifier == FL_SHIFT) {
+ if (k == FL_Left || k == FL_Right) {
+ // Let these keys get to the UI
+ return 0;
}
} else if (k == FL_Escape && modifier == 0) {
// Avoid clearing the text with Esc, just hide the findbar.