… | |
… | |
317 | if (rs[Rs_depth]) |
317 | if (rs[Rs_depth]) |
318 | select_visual (strtol (rs[Rs_depth], 0, 0)); |
318 | select_visual (strtol (rs[Rs_depth], 0, 0)); |
319 | #endif |
319 | #endif |
320 | |
320 | |
321 | #ifdef HAVE_AFTERIMAGE |
321 | #ifdef HAVE_AFTERIMAGE |
|
|
322 | //TODO: is this neccessary for future versions who check the global var whern the macro doesn'T set it? |
322 | ::dpy = NULL ; /* init global var from libAfter... */ |
323 | ::dpy = NULL ; /* init global var from libAfter... */ |
323 | asv = AFTERIMAGE_DPY_OP (create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL)); |
324 | asv = AFTERIMAGE_DPY_OP (create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL)); |
324 | #endif |
325 | #endif |
325 | free (r_argv); |
326 | free (r_argv); |
326 | |
327 | |