Browse Source

* Compilation fix.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
4749a448c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca/driver_x11.c

+ 1
- 1
caca/driver_x11.c View File

@@ -155,7 +155,7 @@ static int x11_init_graphics(caca_t *kk)
kk->drv.p->wm_delete_window = kk->drv.p->wm_delete_window =
XInternAtom(kk->drv.p->dpy, "WM_DELETE_WINDOW", True); 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, XSetWMProtocols(kk->drv.p->dpy, kk->drv.p->window,
&kk->drv.p->wm_delete_window, 1); &kk->drv.p->wm_delete_window, 1);




Loading…
Cancel
Save