tibbs / rpms / texlive

Forked from rpms/texlive 6 years ago
Clone
4931932
--- texlive-bin-2006.svn3816.orig/build/source/texk/xdvik/gui/search-dialog.c	2006-01-17 22:41:51.000000000 +0100
4931932
+++ texlive-bin-2006.svn3816/build/source/texk/xdvik/gui/search-dialog.c	2007-01-26 04:00:04.000000000 +0100
4931932
@@ -694,6 +694,11 @@
4931932
 #ifdef MOTIF
4931932
     XtAddCallback(searchbox_input, XmNactivateCallback, cb_search_get_term, settings);
4931932
 #endif
4931932
+
4931932
+    /* Fix for #1499566: Force input focus for text input field */
4931932
+#ifndef MOTIF
4931932
+    XtSetKeyboardFocus(find_paned, searchbox_input);
4931932
+#endif
4931932
     
4931932
     /*
4931932
      * form for left row of options checkbuttons
4931932
--- texlive-bin-2006.svn3816.orig/build/source/texk/xdvik/dvi-draw.c	2006-01-17 22:41:51.000000000 +0100
4931932
+++ texlive-bin-2006.svn3816/build/source/texk/xdvik/dvi-draw.c	2007-01-26 04:00:04.000000000 +0100
4931932
@@ -1255,6 +1255,9 @@
4931932
 	do_color_change();
4931932
     }
4931932
 #endif
4931932
+    if (pixeltbl == NULL) {
4931932
+        do_color_change();
4931932
+    }
4931932
 
4931932
     /* TODO: rounding errors causing color fringing (see HACK comment below):
4931932