From 6ee7535af07e14193436876eafed6297916d0ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 2 Dec 2020 17:08:43 +0100 Subject: gdk/toplevelsize: Rename 'margin' to 'shadow' and 'shadow_width' This makes it more consistent with everywhere else. --- gdk/broadway/gdksurface-broadway.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gdk/broadway') diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c index d8667d0028..30ba9ff51b 100644 --- a/gdk/broadway/gdksurface-broadway.c +++ b/gdk/broadway/gdksurface-broadway.c @@ -1588,12 +1588,12 @@ gdk_broadway_toplevel_present (GdkToplevel *toplevel, else gdk_broadway_surface_unmaximize (surface); - if (size.margin.is_valid) + if (size.shadow.is_valid) { - impl->shadow_left = size.margin.left; - impl->shadow_right = size.margin.right; - impl->shadow_top = size.margin.top; - impl->shadow_bottom = size.margin.bottom; + impl->shadow_left = size.shadow.left; + impl->shadow_right = size.shadow.right; + impl->shadow_top = size.shadow.top; + impl->shadow_bottom = size.shadow.bottom; } show_surface (surface); -- cgit v1.2.1