From 001b3b5fa8a9346ef7133730883256178732f9cc Mon Sep 17 00:00:00 2001 From: sasha Date: Thu, 20 Sep 2007 22:15:02 +0000 Subject: [PATCH] fixed root background offset when left-top corner of the window is outside of the screen --- src/background.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1