Commit 14cb485d authored by Benjamin Otte's avatar Benjamin Otte

x11: Use event->any.window instead of any random member

parent fac914d7
......@@ -272,7 +272,7 @@ set_user_time (GdkWindow *window,
{
g_return_if_fail (event != NULL);
window = gdk_window_get_toplevel (event->client.window);
window = gdk_window_get_toplevel (event->any.window);
g_return_if_fail (GDK_IS_WINDOW (window));
/* If an event doesn't have a valid timestamp, we shouldn't use it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment