mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +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;
|
||||
*win_x = display_broadway->last_x - private->x;
|
||||
*win_y = display_broadway->last_y - private->y;
|
||||
*mask = 0;
|
||||
if (mask)
|
||||
*mask = 0;
|
||||
}
|
||||
|
||||
return window;
|
||||
|
Loading…
Reference in New Issue
Block a user