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:
committed by
Carlos R. Mafra
parent
8c6525a2b7
commit
9d503d2abc
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user