[gtk/matthiasc/win-pointer-doc-fix: 3/12] Move use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/win-pointer-doc-fix: 3/12] Move use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers
- Date: Fri, 16 Jul 2021 12:28:58 +0000 (UTC)
commit f753be69b7289ffa569dc15689c430e54802b307
Author: Luca Bacci <luca bacci982 gmail com>
Date: Fri Jul 2 10:17:13 2021 +0200
Move use of _gdk_win32_get_next_tick from synthesize_crossing_events to its callers
gdk/win32/gdkevents-win32.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 9cf2ef7ca6..f047340616 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -1070,7 +1070,7 @@ send_crossing_event (GdkDisplay *display,
event = gdk_crossing_event_new (type,
window,
device_manager->core_pointer,
- _gdk_win32_get_next_tick (time_),
+ time_,
mask,
pt.x / impl->surface_scale,
pt.y / impl->surface_scale,
@@ -2255,7 +2255,7 @@ gdk_event_translate (MSG *msg,
GDK_CROSSING_UNGRAB,
&msg->pt,
0, /* TODO: Set right mask */
- msg->time,
+ _gdk_win32_get_next_tick (msg->time),
FALSE);
g_set_object (&implicit_grab_surface, NULL);
g_set_object (&mouse_window, new_window);
@@ -2320,7 +2320,7 @@ gdk_event_translate (MSG *msg,
GDK_CROSSING_NORMAL,
&msg->pt,
0, /* TODO: Set right mask */
- msg->time,
+ _gdk_win32_get_next_tick (msg->time),
FALSE);
g_set_object (&mouse_window, new_window);
mouse_window_ignored_leave = NULL;
@@ -2413,7 +2413,7 @@ gdk_event_translate (MSG *msg,
GDK_CROSSING_NORMAL,
&msg->pt,
0, /* TODO: Set right mask */
- msg->time,
+ _gdk_win32_get_next_tick (msg->time),
FALSE);
g_set_object (&mouse_window, new_window);
mouse_window_ignored_leave = ignore_leave ? new_window : NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]