pkgsrc/graphics/libcaca/patches/patch-ab
wiz db7c0615a9 Update to 0.9:
Changes between 0.8 and 0.9:
----------------------------
  * fix for a buffer overflow in the line rendering
  * fixed resizing in the ncurses and slang drivers
  * aspect ratio and finer zoom support in cacaview
  * minor compilation fixes
Changes between 0.7 and 0.8:
----------------------------
  * window resizing support
  * native Win32 port
  * autorepeat emulation in the ncurses and slang drivers
  * support for more keycodes in the ncurses and slang drivers
  * cacaplas, a plasma animation example
  * cacamoir, a moiré circles animation example
  * MSVC project file
Changes between 0.6 and 0.7:
----------------------------
  * many bugfixes in the event handling
  * cacaball, a metaball animation example
Changes between 0.5 and 0.6:
----------------------------
  * 30% speed increase in the bitmap rendering routine
  * mouse support and various speed optimisations in the X11 driver
  * X11 is now the preferred driver
  * improved documentation
  * minor bugfixes

Package change: use (n)curses by default instead of slang.
2004-08-15 12:40:07 +00:00

20 lines
551 B
Text

$NetBSD: patch-ab,v 1.1 2004/08/15 12:40:07 wiz Exp $
--- src/event.c.orig 2004-02-02 04:00:19.000000000 +0100
+++ src/event.c
@@ -387,6 +387,7 @@ static unsigned int _lowlevel_event(void
return CACA_EVENT_KEY_PRESS | intkey;
}
+#if defined(MOUSE_SUPPORT)
if(intkey == KEY_MOUSE)
{
MEVENT mevent;
@@ -515,6 +516,7 @@ static unsigned int _lowlevel_event(void
return CACA_EVENT_MOUSE_MOTION | (mouse_x << 12) | mouse_y;
}
+#endif
event = CACA_EVENT_KEY_PRESS;