summaryrefslogtreecommitdiff
path: root/src/ui/theme-viewer.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-23 12:55:13 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commit37db3c9e5d07ad8b813107be7cd4ae622793e2aa (patch)
treee2a8ca5cd8ba51da2f7f8855345c9502449b6b99 /src/ui/theme-viewer.c
parent87da4bbb52c4540475896bb2af48b154ee1c6751 (diff)
downloadmarco-37db3c9e5d07ad8b813107be7cd4ae622793e2aa.tar.bz2
marco-37db3c9e5d07ad8b813107be7cd4ae622793e2aa.tar.xz
theme-viewer: Fix invisible borders
https://bugzilla.gnome.org/show_bug.cgi?id=662895 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/6836a621
Diffstat (limited to 'src/ui/theme-viewer.c')
-rw-r--r--src/ui/theme-viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index 8de8a521..466f3bca 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -1081,8 +1081,8 @@ run_theme_benchmark (void)
*/
pixmap = gdk_window_create_similar_surface (gtk_widget_get_window (widget),
CAIRO_CONTENT_COLOR,
- client_width + borders.visible.left + borders.visible.right,
- client_height + borders.visible.top + borders.visible.bottom);
+ client_width + borders.total.left + borders.total.right,
+ client_height + borders.total.top + borders.total.bottom);
cr = cairo_create (pixmap);
meta_theme_draw_frame (global_theme,