Ignore:
Timestamp:
Mar 8, 2006, 8:41:53 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed async issues between the driver and libcaca when resizing windows, and simplified the handle_resize() API. Still can be polished.
File:
1 edited

Legend:

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

    r550 r553  
    114114}
    115115
    116 static void conio_handle_resize(caca_t *kk, unsigned int *new_width,
    117                                             unsigned int *new_height)
     116static void conio_handle_resize(caca_t *kk)
    118117{
    119     *new_width = kk->qq->width;
    120     *new_height = kk->qq->height;
     118    /* We know nothing about our window */
     119    kk->resize.w = kk->qq->width;
     120    kk->resize.h = kk->qq->height;
    121121}
    122122
Note: See TracChangeset for help on using the changeset viewer.