From: sasha Date: Thu, 20 Sep 2007 22:15:02 +0000 (+0000) Subject: fixed root background offset when left-top corner of the window is outside of the... X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=001b3b5fa8a9346ef7133730883256178732f9cc;p=dana%2Furxvt.git fixed root background offset when left-top corner of the window is outside of the screen --- diff --git a/src/background.C b/src/background.C index 26c80843..cfe10da3 100644 --- a/src/background.C +++ b/src/background.C @@ -864,8 +864,8 @@ bgPixmap_t::make_transparency_pixmap () gcv.tile = root_pixmap; gcv.fill_style = FillTiled; - while (sx < 0) sx += (int)window_width; - while (sy < 0) sy += (int)window_height; + while (sx < 0) sx += (int)root_width; + while (sy < 0) sy += (int)root_height; gcv.ts_x_origin = -sx; gcv.ts_y_origin = -sy;