[gtk+/xi2: 929/1239] GdkDisplay: Implement missing func in default GdkDisplayPointerHooks.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 929/1239] GdkDisplay: Implement missing func in default GdkDisplayPointerHooks.
- Date: Tue, 29 Sep 2009 10:54:07 +0000 (UTC)
commit 729960f96455a56090483e088bac9c4d87dcb1c5
Author: Carlos Garnacho <carlos lanedo com>
Date: Sat Aug 29 17:39:28 2009 +0200
GdkDisplay: Implement missing func in default GdkDisplayPointerHooks.
gdk/gdkdisplay.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 6104511..727f48e 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -771,7 +771,9 @@ multihead_default_get_pointer (GdkDisplay *display,
gint *y,
GdkModifierType *mask)
{
- /* FIXME: Call equivalent to _gdk_windowing_get_pointer() */
+ return _gdk_windowing_get_device_state (display,
+ display->core_pointer,
+ screen, x, y, mask);
}
static GdkWindow *
@@ -782,8 +784,8 @@ multihead_default_window_get_pointer (GdkDisplay *display,
GdkModifierType *mask)
{
return gdk_window_real_window_get_device_position (display,
- display->core_pointer,
- window, x, y, mask);
+ display->core_pointer,
+ window, x, y, mask);
}
static GdkWindow *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]