[mutter] frame: Remove extra argument from sync_to_window
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] frame: Remove extra argument from sync_to_window
- Date: Thu, 1 Jan 2015 06:45:01 +0000 (UTC)
commit 23681800d9d3bc1943a73974c1a4ae75f0ff1e11
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Dec 31 21:27:53 2014 -0800
frame: Remove extra argument from sync_to_window
src/core/frame.c | 2 --
src/core/frame.h | 2 --
src/x11/window-x11.c | 8 ++------
3 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/src/core/frame.c b/src/core/frame.c
index 1b39371..2a2c52d 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -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,
diff --git a/src/core/frame.h b/src/core/frame.h
index 36f48b0..9e31040 100644
--- a/src/core/frame.h
+++ b/src/core/frame.h
@@ -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);
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 5a1f619..5476f99 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]