[gtk+/native-layout] Fix gdk_windowing_window_at_pointer in the directfb backend
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Fix gdk_windowing_window_at_pointer in the directfb backend
- Date: Sun, 4 Apr 2010 02:30:43 +0000 (UTC)
commit 9160cf1af75e178f7d0a26c604119cccf8a26ca3
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 23 12:49:51 2010 -0500
Fix gdk_windowing_window_at_pointer in the directfb backend
Patch by Hiroyuki Ikezoe, see bug 604799.
gdk/directfb/gdkwindow-directfb.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gdk/directfb/gdkwindow-directfb.c b/gdk/directfb/gdkwindow-directfb.c
index 1690394..99419f4 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]