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/event.c

    r551 r553  
    138138    unsigned int event;
    139139
     140    /* If we are about to return a resize event, acknowledge it */
     141    if(kk->resize.resized)
     142    {
     143        kk->resize.resized = 0;
     144        _caca_handle_resize(kk);
     145        return CACA_EVENT_RESIZE;
     146    }
     147
    140148    event = _lowlevel_event(kk);
    141149
Note: See TracChangeset for help on using the changeset viewer.