From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs GTK scroll-bar flickering Date: Fri, 21 Mar 2003 14:06:49 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200303192321.h2JNKxbN015050@stubby.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048273779 13066 80.91.224.249 (21 Mar 2003 19:09:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 19:09:39 +0000 (UTC) Cc: miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 21 20:09:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wRtZ-0003OZ-00 for ; Fri, 21 Mar 2003 20:09:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18wRvR-0003ke-00 for ; Fri, 21 Mar 2003 20:11:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wRrp-0003J3-0E for emacs-devel@quimby.gnus.org; Fri, 21 Mar 2003 14:07:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18wRrA-0002TY-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 14:07:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18wRqw-0002Db-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 14:06:55 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18wRqs-000241-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 14:06:50 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18wRqr-0005FP-00; Fri, 21 Mar 2003 14:06:49 -0500 Original-To: "Jan D." In-reply-to: <200303192321.h2JNKxbN015050@stubby.bodenonline.com> (jan.h.d@swipnet.se) Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12514 When dragging, Emacs exits the GTK event loop and goes back to its own loop. Then when an X event comes, it reenters the GTK event loop until all X events has been processed, then exits and enters again, etc. All this exiting and entering also seems to defeat the double buffering. Perhaps GTK needs to be changed to do its double buffering even between one call to its event loop and the next.