frame: Remove extra argument from sync_to_window

This commit is contained in:
Jasper St. Pierre 2014-12-31 21:27:53 -08:00
parent b47afe89d3
commit 23681800d9
3 changed files with 2 additions and 10 deletions

View File

@ -353,8 +353,6 @@ meta_frame_clear_cached_borders (MetaFrame *frame)
gboolean
meta_frame_sync_to_window (MetaFrame *frame,
int resize_gravity,
gboolean need_move,
gboolean need_resize)
{
meta_topic (META_DEBUG_GEOMETRY,

View File

@ -64,8 +64,6 @@ void meta_frame_calc_borders (MetaFrame *frame,
MetaFrameBorders *borders);
gboolean meta_frame_sync_to_window (MetaFrame *frame,
int gravity,
gboolean need_move,
gboolean need_resize);
void meta_frame_clear_cached_borders (MetaFrame *frame);

View File

@ -1219,9 +1219,7 @@ meta_window_x11_move_resize_internal (MetaWindow *window,
configure_frame_first = size_dx + size_dy >= 0;
if (configure_frame_first && window->frame)
frame_shape_changed = meta_frame_sync_to_window (window->frame,
gravity,
need_move_frame, need_resize_frame);
frame_shape_changed = meta_frame_sync_to_window (window->frame, need_resize_frame);
values.border_width = 0;
values.x = client_rect.x;
@ -1260,9 +1258,7 @@ meta_window_x11_move_resize_internal (MetaWindow *window,
}
if (!configure_frame_first && window->frame)
frame_shape_changed = meta_frame_sync_to_window (window->frame,
gravity,
need_move_frame, need_resize_frame);
frame_shape_changed = meta_frame_sync_to_window (window->frame, need_resize_frame);
if (window->frame)
window->buffer_rect = window->frame->rect;