From 9b1782b52e8ac0c6c946a87d757bdd57a88d1729 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Tue, 2 May 2006 18:58:02 +0000 Subject: [PATCH] Don't set pict_format if RENDER is not present (Thx to Oliver Lehmann <oliver@FreeBSD.org> for pointing this out) (Old svn revision: 21450) --- src/mywindow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mywindow.c b/src/mywindow.c index a0b6e5fc3..d8e5adb16 100644 --- a/src/mywindow.c +++ b/src/mywindow.c @@ -70,7 +70,9 @@ xfwmWindowInit (xfwmWindow * win) win->y = 0; win->width = 1; win->height = 1; +#ifdef HAVE_RENDER win->pict_format = NULL; +#endif } void -- GitLab