From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: GTK frame changes Date: Thu, 02 Jul 2009 18:18:58 +0200 Message-ID: <4A4CDDF2.4030608@swipnet.se> References: <4A4CADCB.8000304@gmx.de> <4A4CC3D7.40109@swipnet.se> <4A4CD73D.2080802@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246551562 16841 80.91.229.12 (2 Jul 2009 16:19:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 16:19:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: grischka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 18:19:15 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMP0C-00086k-Uh for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 18:19:13 +0200 Original-Received: from localhost ([127.0.0.1]:34732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMP0C-0006vH-5m for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 12:19:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMP07-0006ud-1G for emacs-devel@gnu.org; Thu, 02 Jul 2009 12:19:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMP02-0006tF-7R for emacs-devel@gnu.org; Thu, 02 Jul 2009 12:19:06 -0400 Original-Received: from [199.232.76.173] (port=37390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMP02-0006tC-2J for emacs-devel@gnu.org; Thu, 02 Jul 2009 12:19:02 -0400 Original-Received: from mtah31.telenor.se ([213.150.131.4]:50192) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMP01-0006sd-Nv for emacs-devel@gnu.org; Thu, 02 Jul 2009 12:19:01 -0400 Original-Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by mtah31.telenor.se (Postfix) with ESMTP id 9087A3371B for ; Thu, 2 Jul 2009 18:18:59 +0200 (CEST) X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As2UAFt6TEpV4S1uPGdsb2JhbACBUYgXjxwBAQEBN7cahBAF X-IronPort-AV: E=Sophos;i="4.42,336,1243807200"; d="scan'208";a="26020203" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph1.telenor.se with ESMTP; 02 Jul 2009 18:18:59 +0200 Original-Received: from [172.20.199.5] (winter [172.20.199.5]) by coolsville.localdomain (Postfix) with ESMTPSA id C439B7FA07B; Thu, 2 Jul 2009 18:18:58 +0200 (CEST) User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) In-Reply-To: <4A4CD73D.2080802@gmx.de> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111914 Archived-At: grischka skrev: > Jan Dj=C3=A4rv wrote: >> grischka skrev: >>> Jan Dj=C3=A4rv wrote in Changelog: >>> >>>> xg_frame_set_char_size): Do not set pixel width/height here or >>>> call change_frame_size. Just call flush_and_sync. >>>> (flush_and_sync): Reintroduced. >>> >>> Nice work and the idea is right IMO, just the problem remains that >>> "flush_and_sync()" does not guarantee that the resize request was >>> actually handled, i.e. that a ConfigureNotify was received before >>> flush_and_sync() returns. In my tests in ~70% of runs this is not >>> the case. >> >> No, it is not certain. But if the X server handles requests from=20 >> clients in sequence (which it should), it is certain. =20 >=20 > What makes you think that flush_and_sync would work if requests are > handled sequentially by the X server? >=20 XSync sends a request to the server and waits for a reply. The resize re= quest=20 is sent before that, so the resize should be handeled before the XSync re= ply=20 is sent. Jan D.