From f14762b026c4b55b1ba06f327f1414f7c634f59f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 16 Jan 2021 15:21:36 -0500 Subject: [PATCH] x11: Notify on surface scale changes Emit property notification when the surface scale changes. --- gdk/x11/gdksurface-x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c index 207c34e419..feecf917a2 100644 --- a/gdk/x11/gdksurface-x11.c +++ b/gdk/x11/gdksurface-x11.c @@ -2013,6 +2013,8 @@ _gdk_x11_surface_set_surface_scale (GdkSurface *surface, surface->height * impl->surface_scale); gdk_surface_invalidate_rect (surface, NULL); + + g_object_notify (G_OBJECT (surface), "scale-factor"); } void