9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] drawterm tearing
Date: Mon, 19 Oct 2009 12:46:49 -0400	[thread overview]
Message-ID: <09c8bc76b8477e66837154fe234855de@ladd.quanstro.net> (raw)
In-Reply-To: <<dd6fe68a0910190937p13b0ba0fk77f51ef5541d19f8@mail.gmail.com>>

> great. now that you have a reproducible test case, try this:
>
> in drawterm/gui-x11/x11.c:/^xdraw it says
>
>         /*
>          * drawterm was distributed for years with
>          * "return 0;" right here.
>          * maybe we should give up on all this?
>          */
>
>         if((dxm = dst->X) == nil)
>                 return 0;
>
> try adding an unconditional "return 0;"
> right there and see if the problem goes away.
> if so, problem solved, or at least pinned on
> some combination of the drawterm x11 code
> and the new x11 server you have.
> that code is trying to do a good job when
> x11 is on the other end of a network connection,
> but that case is getting less and less important.

does fix!

curiosity: is this a locking problem or an arithmetic
problem?

- erik



       reply	other threads:[~2009-10-19 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<dd6fe68a0910190937p13b0ba0fk77f51ef5541d19f8@mail.gmail.com>
2009-10-19 16:46 ` erik quanstrom [this message]
     [not found] <<dd6fe68a0910190830m25a127b9kc11b74ee317a23c2@mail.gmail.com>
2009-10-19 15:46 ` erik quanstrom
2009-10-19 16:37   ` Russ Cox
2009-10-16 20:02 erik quanstrom
2009-10-19 15:30 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09c8bc76b8477e66837154fe234855de@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).