Fix gdk_windowing_window_at_pointer in the directfb backend

Patch by Hiroyuki Ikezoe, see bug 604799.
This commit is contained in:
Matthias Clasen 2010-02-23 12:49:51 -05:00
parent 1e381138f3
commit cb184bed8c

View File

@ -2084,15 +2084,8 @@ _gdk_windowing_window_at_pointer (GdkDisplay *display,
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;
retval = gdk_directfb_child_at (_gdk_parent_root, &wx, &wy);
if (win_x)