diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c index 5b9396aeb..b76d0f98c 100644 --- a/src/backends/native/meta-onscreen-native.c +++ b/src/backends/native/meta-onscreen-native.c @@ -2293,7 +2293,7 @@ meta_onscreen_native_dispose (GObject *object) MetaRendererNative *renderer_native = onscreen_native->renderer_native; MetaRendererNativeGpuData *renderer_gpu_data; - clear_invalidation_handlers (onscreen_native); + meta_onscreen_native_detach (onscreen_native); renderer_gpu_data = meta_renderer_native_get_gpu_data (renderer_native,