From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [werner@suse.de: Several problems in KDE/KWin] Date: Sat, 08 Dec 2007 10:30:04 +0100 Message-ID: <475A641C.4060501@swipnet.se> References: <87k5nqqtfv.fsf@member.fsf.org> <87r6hyjbgw.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197106232 1185 80.91.229.12 (8 Dec 2007 09:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2007 09:30:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 08 10:30:43 2007 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 1J0w1C-0005y0-Ks for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2007 10:30:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0w0v-0002XG-6X for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2007 04:30:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0w0r-0002XB-Jq for emacs-devel@gnu.org; Sat, 08 Dec 2007 04:30:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0w0q-0002Wz-VB for emacs-devel@gnu.org; Sat, 08 Dec 2007 04:30:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0w0q-0002Ww-Nd for emacs-devel@gnu.org; Sat, 08 Dec 2007 04:30:20 -0500 Original-Received: from av10-2-sn2.hy.skanova.net ([81.228.8.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J0w0q-0003c6-Bg for emacs-devel@gnu.org; Sat, 08 Dec 2007 04:30:20 -0500 Original-Received: by av10-2-sn2.hy.skanova.net (Postfix, from userid 502) id 49C6437EAF; Sat, 8 Dec 2007 10:30:19 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av10-2-sn2.hy.skanova.net (Postfix) with ESMTP id 2415F37EAF; Sat, 8 Dec 2007 10:30:19 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 0FA0037E45; Sat, 8 Dec 2007 10:30:18 +0100 (CET) User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <87r6hyjbgw.fsf@escher.local.home> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:84864 Archived-At: Stephen Berman skrev: > On Fri, 07 Dec 2007 20:08:00 +0100 Andreas Schwab wrote: > >> If you try to maximize a second time the frame is actually truely >> maximized. > > This is so if you maximize either vertically (mouse-2) or horizontally > (mouse-3) but not for both dimensions simultaneously (mouse-1). > >> But unmaximizing restores intermediate, nearly maximized >> size, not the original one. > > This behavior has varied in the course of Emacs 22 development. For > further details see > . > It is the same root cause as the "describe-{function,variable} shrinks frame (GTK+/KDE)" problem (http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01108.html). I so far figured out that is has to do with wm size hints. Gtk+ enforces size hits by itself, and then the window manager also does it. There is a race condition in there somewhere, so that Emacs resizes itself one time too many. But I am working on it. Jan D.