commit cac13702568e9a19cc3ac3dd3c5141ba6e9f53d4 parent 92b771ba8ef7f036f0e584cf6269508fd2a31cc6 Author: pancake <pancake@nopcode.org> Date: Fri, 7 May 2010 01:29:55 +0200 fix mouseup invalid click issue describe build instructions in README Diffstat:
README | | | 16 | +++++++++------- |
gi_sdl.c | | | 1 | + |
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/README b/README @@ -1,14 +1,16 @@ SWK - simple widget kit ======================= -On ArchLinunx: - pacman -S sdl sdl_ttf sdl_image +swk is a minimalist widget kit with support for SDL and X11 -On Debian/Ubuntu: - apt-get install libsdl-dev libsdl-ttf libsdl-image -Usability guideline -=================== -Default keybindings are defined in config.h +Requirements +============ +In order to build swk you need SDL, SDL-ttf and SDL-image + +ArchLinux: pacman -S sdl sdl_ttf sdl_image +Debian/Ubuntu: apt-get install libsdl-dev libsdl-ttf libsdl-image +Maemo n900: apt-get install libsdl1.3-dev libsdl-image1.2-dev libsdl-ttf2.0-0 + -> cp config.n900.h config.h TODO ==== diff --git a/gi_sdl.c b/gi_sdl.c @@ -136,6 +136,7 @@ swk_gi_event(SwkWindow *w, int dowait) { if(mousedown) { if(mousedowny==-1) // touchscreen trick mousedowny = event.motion.y; + else mousemoved = 1; if(event.motion.y>mousedowny+fs) { mousedowny = event.motion.y; swk_scroll_up(w);