From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14978 invoked by alias); 7 Sep 2011 13:16:05 -0000 Received: (qmail 14963 invoked by uid 22791); 7 Sep 2011 13:16:04 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Sep 2011 13:15:45 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.6]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 07 Sep 2011 14:15:44 +0100 Message-ID: <4E676E7F.3010901@dronecode.org.uk> Date: Wed, 07 Sep 2011 13:16:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20110817 Thunderbird/7.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: oschmidt-mailinglists@gmx.de Subject: Re: minimize redraw events after resizing/moving windows in multiwindow mode References: <4E503106.9060605@gmx.de> In-Reply-To: <4E503106.9060605@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-09/txt/msg00008.txt.bz2 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/