changeset 1841:d01a5c3f29e8

fix findbar input focusing The documentation for clear_visible_focus all talks about the keyboard, but but Fl::focus must think that the mouse is an honorary part of the keyboard. Not that tab-to-focus is any horrible behavior for findbar's input anyway.
author corvid <corvid@lavabit.com>
date Mon, 17 Jan 2011 13:54:50 +0000
parents 9f20ca5713f0
children 63bb7eefc5f6
files src/findbar.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/findbar.cc	Mon Jan 17 07:41:00 2011 +0000
+++ b/src/findbar.cc	Mon Jan 17 13:54:50 2011 +0000
@@ -132,7 +132,6 @@
     i->color(206);
     i->when(FL_WHEN_ENTER_KEY_ALWAYS);
     i->callback(search_cb2, this);
-    i->clear_visible_focus();
 
     next_btn = new Fl_Button(x, border, button_width, height, "Next");
     x += button_width + gap;