[gtk+] x11: Fix a crash
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: Fix a crash
- Date: Sat, 11 Nov 2017 17:07:44 +0000 (UTC)
commit 7839e0d7d5490229ad1eb5c955e08a7d6a2f7b1c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 11 12:07:11 2017 -0500
x11: Fix a crash
This was crashing the moment a second window is opened.
gdk/x11/gdkdevice-xi2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdevice-xi2.c b/gdk/x11/gdkdevice-xi2.c
index 78f2782..210c72b 100644
--- a/gdk/x11/gdkdevice-xi2.c
+++ b/gdk/x11/gdkdevice-xi2.c
@@ -359,7 +359,7 @@ gdk_x11_device_xi2_query_state (GdkDevice *device,
}
if (!GDK_X11_DISPLAY (display)->trusted_client ||
- !XIQueryPointer (GDK_WINDOW_XDISPLAY (window),
+ !XIQueryPointer (GDK_DISPLAY_XDISPLAY (display),
device_xi2->device_id,
xwindow,
&xroot_window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]