summaryrefslogtreecommitdiff
path: root/gdk/broadway
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-12-02 17:08:43 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 20:37:29 +0100
commit6ee7535af07e14193436876eafed6297916d0ca2 (patch)
treefa7ccd66fcee11ba273b81939d787f0a5243fd67 /gdk/broadway
parentb7380543449ea679a2c912b66aab4855b2bb41f2 (diff)
downloadgtk+-6ee7535af07e14193436876eafed6297916d0ca2.tar.gz
gdk/toplevelsize: Rename 'margin' to 'shadow' and 'shadow_width'
This makes it more consistent with everywhere else.
Diffstat (limited to 'gdk/broadway')
-rw-r--r--gdk/broadway/gdksurface-broadway.c10
1 files changed, 5 insertions, 5 deletions
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);