From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 22888 invoked from network); 10 Apr 2021 15:59:44 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 15:59:44 -0000 Received: from mail-40138.protonmail.ch ([185.70.40.138]) by 1ess; Sat Apr 10 11:24:30 -0400 2021 Date: Sat, 10 Apr 2021 15:24:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1618068264; bh=Ja7/nQnuAhkX9H+GUcstSJq8cQ6Un8s27vKdHMX53is=; h=Date:To:From:Reply-To:Subject:From; b=E9t05+554mRbJkZZF5y/G6ljAiJK8A0ozbdsq7kXbc+UL95uoFA3MYMxH+cVCtT8E 87H1t3fLKSDpQIsUyhMTIcv78wONTuOJkPdQpxD6iJDAHxeGXPLVgEZb4IXtUSeXhE VNfyr2Qeb5jdmKvt3ZwrSNDVgDVn/Ft7zzpMisfM= To: "9front@9front.org" <9front@9front.org> From: kemal Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stateless non-blocking XML injection proxy replication Subject: [9front] acme: increase scroll wheels speed Reply-To: 9front@9front.org Precedence: bulk i was used to sam's fast scrolling, acme's scrolling was slow. i have seen that there were attempts made to get it aligned with rio and sam (d0a53c92a84d), but there was a problem so it was reverted back (a43c3e5624da). i think this change gets it align with sam and rio (and i tried to compare, seems to be same) but not sure. diff -r cc8420fa5fce sys/src/cmd/acme/acme.c --- a/sys/src/cmd/acme/acme.c=09Fri Apr 09 16:48:07 2021 +0200 +++ b/sys/src/cmd/acme/acme.c=09Sat Apr 10 18:11:38 2021 +0300 @@ -526,9 +526,9 @@ =09=09=09/* scroll buttons, wheels, etc. */ =09=09=09if(t->what=3D=3DBody && w !=3D nil && (m.buttons & (8|16))){ =09=09=09=09if(m.buttons & 8) -=09=09=09=09=09but =3D Kscrolloneup; +=09=09=09=09=09but =3D Kup; =09=09=09=09else -=09=09=09=09=09but =3D Kscrollonedown; +=09=09=09=09=09but =3D Kdown; =09=09=09=09winlock(w, 'M'); =09=09=09=09t->eq0 =3D ~0; =09=09=09=09texttype(t, but);