frame: Remove extra argument from sync_to_window
This commit is contained in:
parent
b47afe89d3
commit
23681800d9
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user