wok rev 19012
busybox/fbvnc: wheelmouse support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 28 23:41:02 2016 +0200 (2016-03-28) |
parents | 1513e66c7557 |
children | 31a7eeacf828 |
files | busybox/stuff/busybox-1.23-fbvnc.u |
line diff
1.1 --- a/busybox/stuff/busybox-1.23-fbvnc.u Mon Mar 28 23:15:26 2016 +0200 1.2 +++ b/busybox/stuff/busybox-1.23-fbvnc.u Mon Mar 28 23:41:02 2016 +0200 1.3 @@ -1,8 +1,8 @@ 1.4 text data bss dec hex filename 1.5 - 3119 0 0 3119 c2f util-linux/fbvnc.o 1.6 + 3122 0 0 3122 c32 util-linux/fbvnc.o 1.7 --- /dev/null 1.8 +++ busybox/util-linux/fbvnc.c 1.9 -@@ -0,0 +1,549 @@ 1.10 +@@ -0,0 +1,551 @@ 1.11 +/* vi: set sw=4 ts=4: */ 1.12 +/* 1.13 + * A small linux framebuffer VNC viewer 1.14 @@ -478,8 +478,10 @@ 1.15 + k = 0xff00; 1.16 + goto getkey; 1.17 + case 0x0c: /* Mouse button + ^L: redraw */ 1.18 -+ if (G.rat_buttons) 1.19 ++ if (G.rat_buttons) { 1.20 + vnc_refresh(0); 1.21 ++ continue; 1.22 ++ } 1.23 + default: 1.24 + getkey: 1.25 + k += (unsigned char) key[i];