[gtk+/client-side-windows: 17/284] Avoid crash by not passing in NULL mask pointer to _gdk_windowing_get_pointer
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 17/284] Avoid crash by not passing in NULL mask pointer to _gdk_windowing_get_pointer
- Date: Thu, 2 Apr 2009 14:01:08 -0400 (EDT)
commit 2e3661e4535ae6449946871088dfc9054d1e4ea9
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 4 13:07:25 2008 +0100
Avoid crash by not passing in NULL mask pointer to _gdk_windowing_get_pointer
---
gdk/gdkdisplay.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 1e0c45a..40efc15 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -522,6 +522,7 @@ gdk_window_real_window_get_pointer (GdkDisplay *display,
GdkWindowObject *private;
GdkWindow *pointer_window;
gint tmpx, tmpy;
+ GdkModifierType tmp_mask;
private = (GdkWindowObject *) window;
@@ -546,7 +547,7 @@ gdk_window_real_window_get_pointer (GdkDisplay *display,
_gdk_windowing_window_get_pointer (display,
pointer_window,
&tmpx, &tmpy,
- NULL);
+ &tmp_mask);
/* Then convert that to a client side window */
pointer_window = _gdk_window_find_descendant_at (pointer_window,
tmpx, tmpy,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]