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

This commit is contained in:
Benjamin Otte 2011-02-01 03:53:21 +01:00
parent fac914d70c
commit 14cb485d22

View File

@ -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