Ignore:
Timestamp:
Nov 25, 2007, 3:11:58 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Add cucul_manage_canvas() and cucul_unmanage_canvas(). Display drivers no longer need to access the cv->refcount private member and cucul_set_canvas_size() is no longer needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_x11.c

    r2049 r2055  
    8989#endif
    9090
    91     __cucul_set_canvas_size(dp->cv, width ? width : 80, height ? height : 32);
     91    dp->resize.allow = 1;
     92    cucul_set_canvas_size(dp->cv, width ? width : 80, height ? height : 32);
     93    dp->resize.allow = 0;
    9294
    9395    dp->drv.p->dpy = XOpenDisplay(NULL);
Note: See TracChangeset for help on using the changeset viewer.