diff options
Diffstat (limited to 'src/core/window.c')
-rw-r--r-- | src/core/window.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/window.c b/src/core/window.c index d108a0e8..01f1a6cb 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3475,8 +3475,6 @@ meta_window_move_resize_internal (MetaWindow *window, gboolean need_move_frame = FALSE; gboolean need_resize_client = FALSE; gboolean need_resize_frame = FALSE; - int frame_size_dx; - int frame_size_dy; int size_dx; int size_dy; gboolean is_configure_request; @@ -3581,7 +3579,7 @@ meta_window_move_resize_internal (MetaWindow *window, if (have_window_frame) { - int new_w, new_h; + int frame_size_dx, frame_size_dy, new_w, new_h; new_w = window->rect.width + fgeom.left_width + fgeom.right_width; @@ -3603,11 +3601,6 @@ meta_window_move_resize_internal (MetaWindow *window, window->frame->rect.width, window->frame->rect.height); } - else - { - frame_size_dx = 0; - frame_size_dy = 0; - } /* For nice effect, when growing the window we want to move/resize * the frame first, when shrinking the window we want to move/resize |