From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 27 Feb 2008 21:13:10 -0300 From: "Felipe Bichued" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] video of an acme session In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7359f0490802271226t41d62aa2q9408a7386a0ceaba@mail.gmail.com> Topicbox-Message-UUID: 66c830ec-ead3-11e9-9d60-3106f5b1d025 just to be clear, i meant the t->what == Tag check. On Wed, Feb 27, 2008 at 9:08 PM, Felipe Bichued wrote: > somehow, i was only able to reproduce the bug if i had some selected > text in the tag bar, and tried to click over it with the 3rd button. > i'm not sure if that's the intended behavior, but it seems that it was > triggered by the expand function in /sys/src/cmd/acme/look.c. > > /* if in selection, choose selection */ > e->jump = TRUE; > if(q1==q0 && t->q1>t->q0 && t->q0<=q0 && q0<=t->q1){ > q0 = t->q0; > q1 = t->q1; > if(t->what == Tag) > e->jump = FALSE; > } > > removing the if along with it's body fixes it for me. > > regards. > > felipe > > > > On Wed, Feb 27, 2008 at 6:22 PM, Skip Tavakkolian <9nut@9netics.com> wrote: > > > There's something broken in that video. The mouse doesn't move to the > > > selection on a button 3 operation. > > > > good eye. yes i noticed it and briefly discussed it with brucee last night. i'm looking > > at it now. > > > > i fixed the (lack of) redrawing in tippi window after a move or reshape but before > > any mouse activity. > > > > >