diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-12-04 13:07:25 +0100 |
---|---|---|
committer | Alexander Larsson <alex@localhost.localdomain> | 2009-04-02 10:14:05 +0200 |
commit | 2e3661e4535ae6449946871088dfc9054d1e4ea9 (patch) | |
tree | 9d9fa3307ab29c156e1f1fb77dd670df0c66400a /gdk/gdkdisplay.c | |
parent | 3a6d68e8365ce85c194d82b6fcdfcd3f6488074c (diff) | |
download | gtk+-2e3661e4535ae6449946871088dfc9054d1e4ea9.tar.gz |
Avoid crash by not passing in NULL mask pointer to _gdk_windowing_get_pointer
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r-- | gdk/gdkdisplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 1e0c45a0fe..40efc153d1 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, |