Changeset 314


Ignore:
Timestamp:
Jan 5, 2004, 7:08:50 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + Fixed a bug that caused ButtonRelease? events to be forgotten under X11.
  • examples/cacaview.c: + Use <stdlib.h> instead of <malloc.h>.
Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/cacaview.c

    r305 r314  
    2626#include <stdio.h>
    2727#include <string.h>
    28 #include <malloc.h>
     28#include <stdlib.h>
    2929#include <unistd.h>
    3030
  • libcaca/trunk/src/io.c

    r309 r314  
    111111                return CACA_EVENT_MOUSE_PRESS | 1;
    112112
    113             if(xevent.type == ButtonPress)
     113            if(xevent.type == ButtonRelease)
    114114                return CACA_EVENT_MOUSE_RELEASE | 1;
    115115
Note: See TracChangeset for help on using the changeset viewer.