1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 07:02:30 +01:00

Fix segfault in Wprefs when background is set to fpixmap (wmsetbg --fillscale)

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 <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-19 21:45:17 +02:00
committed by Carlos R. Mafra
parent 8c6525a2b7
commit 9d503d2abc

View File

@@ -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);