[gtk+] xim: Convert to GdkEvent API
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] xim: Convert to GdkEvent API
- Date: Tue, 19 Sep 2017 17:16:05 +0000 (UTC)
commit 974b99694d2598817d2549751770390e2ef1d63a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 25 22:55:38 2017 -0400
xim: Convert to GdkEvent API
modules/input/gtkimcontextxim.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c
index c8f20f7..3095fcf 100644
--- a/modules/input/gtkimcontextxim.c
+++ b/modules/input/gtkimcontextxim.c
@@ -677,7 +677,7 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context,
xevent.type = (event_type == GDK_KEY_PRESS) ? KeyPress : KeyRelease;
xevent.serial = 0; /* hope it doesn't matter */
- xevent.send_event = event->send_event;
+ xevent.send_event = gdk_event_is_sent ((GdkEvent *)event);
xevent.display = GDK_WINDOW_XDISPLAY (window);
xevent.window = GDK_WINDOW_XID (window);
xevent.root = DefaultRootWindow(GDK_WINDOW_XDISPLAY (window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]