From 6609db525a33d676cac6f4d3768aa253487b8e18 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 8 Nov 2014 12:18:41 +0000 Subject: [PATCH] cannot call take_focus in constructor: it triggers show() --- Fltk/helpWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fltk/helpWindow.cpp b/Fltk/helpWindow.cpp index 3350cb214a..ab2d708cfc 100644 --- a/Fltk/helpWindow.cpp +++ b/Fltk/helpWindow.cpp @@ -414,7 +414,7 @@ helpWindow::helpWindow() search->box(FL_FLAT_BOX); search->callback(help_options_cb); search->when(FL_WHEN_CHANGED); - search->take_focus(); + //search->take_focus(); cannot call this here - it triggers show() on Linux in fltk 1.3.3 o->resizable(search); o->end(); -- GitLab