diff options
author | chariot <empty> | 1987-06-16 00:30:21 +0000 |
---|---|---|
committer | chariot <empty> | 1987-06-16 00:30:21 +0000 |
commit | f4711d7c48c4cd1ac8b0fe88d52f69b80f0a9f4a (patch) | |
tree | dc4e05e7ed53e73c37dbc13f57cdfa09aafa5279 /xc/programs/xsetroot | |
parent | 4edadee71943ce959fe14dc8417fcf287f1d4dc3 (diff) |
added width & height to Bitmap_To_Pixmap call
Diffstat (limited to 'xc/programs/xsetroot')
-rw-r--r-- | xc/programs/xsetroot/xsetroot.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |