mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
macos: handle NULL frame-clock when thawing
This commit is contained in:
parent
06ec4ec148
commit
ea43939f52
@ -726,7 +726,8 @@ _gdk_macos_surface_thaw (GdkMacosSurface *self,
|
||||
|
||||
gdk_surface_thaw_updates (GDK_SURFACE (self));
|
||||
|
||||
frame_clock = gdk_surface_get_frame_clock (GDK_SURFACE (self));
|
||||
if (!(frame_clock = gdk_surface_get_frame_clock (GDK_SURFACE (self))))
|
||||
return;
|
||||
|
||||
if (self->pending_frame_counter)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user