[gtk/readonly-events-1: 4/9] x11: Stop using the send_event event field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1: 4/9] x11: Stop using the send_event event field
- Date: Tue, 18 Feb 2020 05:01:28 +0000 (UTC)
commit a3db87a9fff3659eba0a8ab310491befe9778db7
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 17 22:18:56 2020 -0500
x11: Stop using the send_event event field
The only use of this field is printing it out in a
debug message. We are going to drop it.
gdk/x11/gdkdisplay-x11.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index ae5ad23719..98a8630006 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -715,11 +715,10 @@ gdk_x11_display_translate_event (GdkEventTranslator *translator,
case Expose:
GDK_DISPLAY_NOTE (display, EVENTS,
- g_message ("expose:\t\twindow: %ld %d x,y: %d %d w,h: %d %d%s",
+ g_message ("expose:\t\twindow: %ld %d x,y: %d %d w,h: %d %d",
xevent->xexpose.window, xevent->xexpose.count,
xevent->xexpose.x, xevent->xexpose.y,
- xevent->xexpose.width, xevent->xexpose.height,
- event->any.send_event ? " (send)" : ""));
+ xevent->xexpose.width, xevent->xexpose.height));
if (surface == NULL)
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]