tiny gtk patch suggestion
- From: Daniel R Risacher <risacher worldnet att net>
- To: gtk-list redhat com
- Subject: tiny gtk patch suggestion
- Date: Sat, 16 Aug 1997 22:01:03 -0500
If no widget is the default, but some widget has the focus, then the
focus widget should get enter and return events.
-Dan Risacher
--- /usr/local/gimp-0.99.10/gimp-0.99.10/gtk+/gtk/gtkwindow.c.old Tue Jun 3 19:34:34 1997
+++ /usr/local/gimp-0.99.10/gimp-0.99.10/gtk+/gtk/gtkwindow.c Fri Aug 15 20:14:54 1997
@@ -639,6 +639,8 @@
case GDK_KP_Enter:
if (window->default_widget)
gtk_widget_activate (window->default_widget);
+ else if (window->focus_widget)
+ gtk_widget_activate (window->focus_widget);
return_val = TRUE;
break;
case GDK_Up:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]