mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
[broadway] Avoid crash if mask is NULL
This commit is contained in:
parent
b23fd41449
commit
7667ad456b
@ -872,7 +872,8 @@ _gdk_windowing_window_at_device_position (GdkDisplay *display,
|
|||||||
private = (GdkWindowObject *)window;
|
private = (GdkWindowObject *)window;
|
||||||
*win_x = display_broadway->last_x - private->x;
|
*win_x = display_broadway->last_x - private->x;
|
||||||
*win_y = display_broadway->last_y - private->y;
|
*win_y = display_broadway->last_y - private->y;
|
||||||
*mask = 0;
|
if (mask)
|
||||||
|
*mask = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return window;
|
return window;
|
||||||
|
Loading…
Reference in New Issue
Block a user