[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370505: xdvi: typing the search string after hitting Ctrl-F needs mousing



tags 370505 + patch fixed-upstream
thanks

> May I apply it to tetex-bin?

I forgot to add that the patch is trivial: it only adds:

  #ifndef MOTIF
      XtSetKeyboardFocus(find_paned, searchbox_input);
  #endif

at the right place. I am attaching it now.

--- search-dialog.c     2 Dec 2004 23:15:33 -0000       1.1.2.15
+++ search-dialog.c     4 Jun 2006 22:02:51 -0000
@@ -694,6 +694,11 @@
 #ifdef MOTIF
     XtAddCallback(searchbox_input, XmNactivateCallback, cb_search_get_term, settings);
 #endif
+
+    /* Fix for #1499566: Force input focus for text input field */
+#ifndef MOTIF
+    XtSetKeyboardFocus(find_paned, searchbox_input);
+#endif
     
     /*
      * form for left row of options checkbuttons
-- 
Florent

Reply to: