public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: oschmidt-mailinglists@gmx.de
Subject: Re: minimize redraw events after resizing/moving windows in multiwindow mode
Date: Wed, 07 Sep 2011 13:16:00 -0000	[thread overview]
Message-ID: <4E676E7F.3010901@dronecode.org.uk> (raw)
In-Reply-To: <4E503106.9060605@gmx.de>

On 20/08/2011 23:11, Oliver Schmidt wrote:
> in multiwindow mode the modal moving/resizing of windows causes a lot of
> redraw events send to the X clients after the userse releases the mouse
> button. During the moving/resizing client windows are not redrawn as long as
> the mouse button is pressed. But all redraw/resizing events are queued and
> executed step after step after moving/resizing ends.
>
> Some clients collect and combine multiple redraw or resizing events, other
> clients (e.g. xterm) simply execute each redraw or sizing event.
>
> The enclosed patch minimizes the events for clients to only one event after
> the user releases the mouse button to end the moving/resizing. This improves
> the user experience and reduces strange screen flickerings especially on slow
> platforms.

Thanks for the patch.

I've applied it to my git tree [1], so it will appear in the next cygwin X 
server release (probably 1.11.0-1)

[1] 
http://cgit.freedesktop.org/~jturney/xserver/commit/?h=cygwin-release-1.11&id=784ef7472904cbac6ea49d8cf0e489820372a90d

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


      reply	other threads:[~2011-09-07 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 22:11 Oliver Schmidt
2011-09-07 13:16 ` Jon TURNEY [this message]

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=4E676E7F.3010901@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=oschmidt-mailinglists@gmx.de \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).