diff --git a/gdk/directfb/gdkwindow-directfb.c b/gdk/directfb/gdkwindow-directfb.c index 1690394471..99419f4feb 100644 --- a/gdk/directfb/gdkwindow-directfb.c +++ b/gdk/directfb/gdkwindow-directfb.c @@ -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)