diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-16 15:21:36 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-16 15:22:46 -0500 |
commit | f14762b026c4b55b1ba06f327f1414f7c634f59f (patch) | |
tree | dd09b98388dd858016ee862ece3c21ae532a1968 | |
parent | 187d2614005948f6380467d7130e7d11c226bec3 (diff) | |
download | gtk+-surface-scale.tar.gz |
x11: Notify on surface scale changessurface-scale
Emit property notification when the surface scale
changes.
-rw-r--r-- | gdk/x11/gdksurface-x11.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |