From 9d503d2abc2eb052436fb2f8d072750810f1fc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Mon, 19 May 2014 21:45:17 +0200 Subject: [PATCH] Fix segfault in Wprefs when background is set to fpixmap (wmsetbg --fillscale) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Long time ago I added this option so I could have wallpaper filling my screen while preserving aspect ratio. Seems like I didn't add it to WPrefs Signed-off-by: Amadeusz Sławiński --- WPrefs.app/Appearance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c index dc1d8c02..092ad08a 100644 --- a/WPrefs.app/Appearance.c +++ b/WPrefs.app/Appearance.c @@ -660,6 +660,7 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * texture, int width, int image = RMakeCenteredImage(timage, width, height, &color); RReleaseImage(timage); break; + case 'F': case 'S': case 'M': image = RScaleImage(timage, width, height);