This is my attempt to fix a problem that the keyboard focus constantly
goes away from the window where the pointer is on.
It appears that _gdk_windowing_window_at_pointer can be called with
uninitialized *win_x and *win_y, and must get the pointer location
always by itself.
--- gdk/directfb.dist/gdkwindow-directfb.c 2003-12-16 23:48:49.000000000
+0900
+++ gdk/directfb/gdkwindow-directfb.c 2005-01-18 19:00:01.000000000 +0900
@@ -1785,14 +1785,7 @@
GdkWindow *retval;
gint wx, wy;
- if (!win_x || !win_y)
- gdk_directfb_mouse_get_info (&wx, &wy, NULL);
-
- if (win_x)
- wx = *win_x;
-
- if (win_y)
- wy = *win_y;
+ gdk_directfb_mouse_get_info (&wx, &wy, NULL);
retval = gdk_directfb_child_at (_gdk_parent_root, &wx, &wy);
begin:vcard
fn;quoted-printable:=E7=AC=B9=E5=B1=B1
n;quoted-printable:=E7=AC=B9=E5=B1=B1
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
version:2.1
end:vcard