summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index d0033ecb..be57fdb3 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1245,8 +1245,7 @@ get_window_pixbuf (MetaWindow *window)
if (pmap == None)
return NULL;
- pixbuf = meta_ui_get_pixbuf_from_pixmap (window->display->xdisplay,
- window->screen->number, pmap);
+ pixbuf = meta_ui_get_pixbuf_from_pixmap (pmap);
if (pixbuf == NULL)
return NULL;