[metacity] theme: use window style element for drawing



commit 1a659c64678040cb07992e076bbdadb8cc039648
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Jan 24 01:02:40 2016 +0200

    theme: use window style element for drawing

 src/ui/theme.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 31a8f8f..6e7740f 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4904,7 +4904,7 @@ meta_frame_style_draw_with_style (MetaFrameStyle          *style,
               MetaRectangle m_rect;
               m_rect = meta_rect (rect.x, rect.y, rect.width, rect.height);
               meta_draw_op_list_draw_with_style (op_list,
-                                                 style_info->styles[META_STYLE_ELEMENT_DECORATION],
+                                                 style_info->styles[META_STYLE_ELEMENT_WINDOW],
                                                  cr,
                                                  &draw_info,
                                                  m_rect);
@@ -4942,7 +4942,7 @@ meta_frame_style_draw_with_style (MetaFrameStyle          *style,
                       m_rect = meta_rect (rect.x, rect.y,
                                           rect.width, rect.height);
                       meta_draw_op_list_draw_with_style (op_list,
-                                                         style_info->styles[META_STYLE_ELEMENT_DECORATION],
+                                                         style_info->styles[META_STYLE_ELEMENT_WINDOW],
                                                          cr,
                                                          &draw_info,
                                                          m_rect);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]