[metacity] compositor: remove unused parameter from map_win



commit cc3222e87619033e5c5e977bb2b63881c761594d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Mar 3 21:58:43 2017 +0200

    compositor: remove unused parameter from map_win

 src/compositor/meta-compositor-xrender.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index e056470..f60aa44 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -2038,7 +2038,6 @@ free_win (MetaCompositorXRender *xrender,
 static void
 map_win (MetaCompositorXRender *xrender,
          MetaDisplay           *display,
-         MetaScreen            *screen,
          Window                 id)
 {
   MetaCompWindow *cw = find_window (xrender, id);
@@ -2335,7 +2334,7 @@ add_win (MetaCompositorXRender *xrender,
   g_hash_table_insert (info->windows_by_xid, (gpointer) xwindow, cw);
 
   if (cw->attrs.map_state == IsViewable)
-    map_win (xrender, display, screen, xwindow);
+    map_win (xrender, display, xwindow);
 }
 
 static void
@@ -2838,7 +2837,7 @@ process_map (MetaCompositorXRender *xrender,
   MetaCompWindow *cw = find_window (xrender, event->window);
 
   if (cw)
-    map_win (xrender, display, cw->screen, event->window);
+    map_win (xrender, display, event->window);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]