mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Fix gdk_windowing_window_at_pointer in the directfb backend
Patch by Hiroyuki Ikezoe, see bug 604799.
This commit is contained in:
parent
1e381138f3
commit
cb184bed8c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user