From 4749a448c36288dc0ac60893ad0bd2cfabdfb232 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 18 Apr 2006 08:13:20 +0000 Subject: [PATCH] * Compilation fix. --- caca/driver_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca/driver_x11.c b/caca/driver_x11.c index 01a0df7..75ec344 100644 --- a/caca/driver_x11.c +++ b/caca/driver_x11.c @@ -155,7 +155,7 @@ static int x11_init_graphics(caca_t *kk) kk->drv.p->wm_delete_window = XInternAtom(kk->drv.p->dpy, "WM_DELETE_WINDOW", True); - if(p_win->wm_protocols != None && p_win->wm_delete_window != None) + if(kk->drv.p->wm_protocols != None && kk->drv.p->wm_delete_window != None) XSetWMProtocols(kk->drv.p->dpy, kk->drv.p->window, &kk->drv.p->wm_delete_window, 1);