From ca342c45733541344d9f93bdadaf93377ee3944c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 19 Nov 2013 14:42:50 -0500 Subject: [PATCH] window: Remove unused parameter from meta_window_new_shared() --- src/core/window.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index 86f284d81..e5013213d 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -827,7 +827,6 @@ meta_window_new_shared (MetaDisplay *display, MetaWindowClientType client_type, MetaWaylandSurface *surface, Window xwindow, - gboolean must_be_viewable, gulong existing_wm_state, MetaCompEffect effect, XWindowAttributes *attrs) @@ -838,8 +837,7 @@ meta_window_new_shared (MetaDisplay *display, g_assert (attrs != NULL); - meta_verbose ("must_be_viewable = %d attrs->map_state = %d (%s)\n", - must_be_viewable, + meta_verbose ("attrs->map_state = %d (%s)\n", attrs->map_state, (attrs->map_state == IsUnmapped) ? "IsUnmapped" : @@ -1421,7 +1419,6 @@ meta_window_new_for_wayland (MetaDisplay *display, META_WINDOW_CLIENT_TYPE_WAYLAND, surface, None, - TRUE, WithdrawnState, META_COMP_EFFECT_NONE, &attrs); @@ -1601,7 +1598,6 @@ meta_window_new_with_attrs (MetaDisplay *display, META_WINDOW_CLIENT_TYPE_X11, NULL, xwindow, - must_be_viewable, existing_wm_state, effect, attrs);