summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/metacity.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/metacity.c')
-rw-r--r--gtk/window-decorator/metacity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/window-decorator/metacity.c b/gtk/window-decorator/metacity.c
index c3221a2..c50754d 100644
--- a/gtk/window-decorator/metacity.c
+++ b/gtk/window-decorator/metacity.c
@@ -1640,7 +1640,7 @@ meta_update_border_extents ()
&left_width,
&right_width);
- decor_frames[d_frame_type].win_extents.top = _default_decoration.win_extents.top;
+ decor_frames[d_frame_type].win_extents.top = decor_frames[DECOR_FRAME_TYPE_DEFAULT].win_extents.top;
decor_frames[d_frame_type].win_extents.bottom = bottom_height;
decor_frames[d_frame_type].win_extents.left = left_width;
decor_frames[d_frame_type].win_extents.right = right_width;
@@ -1656,7 +1656,7 @@ meta_update_border_extents ()
&left_width,
&right_width);
- decor_frames[d_frame_type].max_win_extents.top = _default_decoration.win_extents.top;
+ decor_frames[d_frame_type].max_win_extents.top = decor_frames[DECOR_FRAME_TYPE_DEFAULT].win_extents.top;
decor_frames[d_frame_type].max_win_extents.bottom = bottom_height;
decor_frames[d_frame_type].max_win_extents.left = left_width;
decor_frames[d_frame_type].max_win_extents.right = right_width;