diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-12-02 17:08:43 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-12-07 20:37:29 +0100 |
commit | 6ee7535af07e14193436876eafed6297916d0ca2 (patch) | |
tree | fa7ccd66fcee11ba273b81939d787f0a5243fd67 /gdk/broadway | |
parent | b7380543449ea679a2c912b66aab4855b2bb41f2 (diff) | |
download | gtk+-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.c | 10 |
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); |