From f4711d7c48c4cd1ac8b0fe88d52f69b80f0a9f4a Mon Sep 17 00:00:00 2001 From: chariot Date: Tue, 16 Jun 1987 00:30:21 +0000 Subject: added width & height to Bitmap_To_Pixmap call --- xc/programs/xsetroot/xsetroot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xc') diff --git a/xc/programs/xsetroot/xsetroot.c b/xc/programs/xsetroot/xsetroot.c index bfb7b6fca..7661ccb3c 100644 --- a/xc/programs/xsetroot/xsetroot.c +++ b/xc/programs/xsetroot/xsetroot.c @@ -171,7 +171,7 @@ main(argc, argv) * SetBackgroundToBitmap: Set the root window background to a caller supplied * bitmap. */ -SetBackgroundToBitmap(bitmap) +SetBackgroundToBitmap(bitmap, width, height) Pixmap bitmap; { Pixmap pix; @@ -189,7 +189,8 @@ Pixmap bitmap; gc = XCreateGC(dpy, RootWindow(dpy, screen),GCForeground|GCBackground, &gc_init); - pix = Bitmap_To_Pixmap(dpy, RootWindow(dpy, screen), gc, bitmap); + pix = Bitmap_To_Pixmap(dpy, RootWindow(dpy, screen), gc, bitmap, + width, height); XSetWindowBackgroundPixmap(dpy, RootWindow(dpy, screen), pix); } -- cgit v1.2.3