x11: Use event->any.window instead of any random member
This commit is contained in:
@ -272,7 +272,7 @@ set_user_time (GdkWindow *window,
|
|||||||
{
|
{
|
||||||
g_return_if_fail (event != NULL);
|
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));
|
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||||
|
|
||||||
/* If an event doesn't have a valid timestamp, we shouldn't use it
|
/* If an event doesn't have a valid timestamp, we shouldn't use it
|
||||||
|
|||||||
Reference in New Issue
Block a user