From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Fri, 21 Aug 2009 15:32:15 -0400 Message-ID: References: <4A89AA46.6050502@gmx.de> <4A8BC2CD.5060303@gmx.de> <4A8BF3E0.5090304@gmx.at> <4A8D375D.9090905@gmx.de> <4A8D46DA.4090500@gmx.at> <4A8DA56F.7070908@gmx.de> <4A8E916E.3020109@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250883155 2268 80.91.229.12 (21 Aug 2009 19:32:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 19:32:35 +0000 (UTC) Cc: grischka , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 21 21:32:28 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 1MeZqe-0006Al-2a for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2009 21:32:28 +0200 Original-Received: from localhost ([127.0.0.1]:36966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeZqd-0001zB-DE for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2009 15:32:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeZqX-0001yd-Gk for emacs-devel@gnu.org; Fri, 21 Aug 2009 15:32:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeZqS-0001vH-Tv for emacs-devel@gnu.org; Fri, 21 Aug 2009 15:32:20 -0400 Original-Received: from [199.232.76.173] (port=37276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeZqS-0001vB-RB for emacs-devel@gnu.org; Fri, 21 Aug 2009 15:32:16 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:55156) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeZqS-0004mM-Bh for emacs-devel@gnu.org; Fri, 21 Aug 2009 15:32:16 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEANOSjkpFxIrq/2dsb2JhbACBU9UchBoFh1Y X-IronPort-AV: E=Sophos;i="4.44,252,1249272000"; d="scan'208";a="43941059" Original-Received: from 69-196-138-234.dsl.teksavvy.com (HELO pastel.home) ([69.196.138.234]) by ironport2-out.teksavvy.com with ESMTP; 21 Aug 2009 15:31:33 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1F9A67F36; Fri, 21 Aug 2009 15:32:15 -0400 (EDT) In-Reply-To: <4A8E916E.3020109@gmx.at> (martin rudalics's message of "Fri, 21 Aug 2009 14:22:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) 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:114494 Archived-At: > So if a component doesn't fit it's iconified in some sense of that word? No, what I tend to see (under X11) is that some X-windows just refuse to be shrunk past a certain size. A quick test shows that Firefox handles the issue by letting the window-manager shrink the window at will (down to 1x1 pixels), but its content stops shrinking at some point (so some of the content is clipped). OTOH Empathy and Evolution seem to impose some minimal size below which the window doesn't shrink. I don't know enough about the underlying protocol to know how they might do that, but presumably it's either done by telling the W-M beforehand what is the minimal size, or it's done after the fact by "rejecting" the resize request. Either way sounds good enough for me, so I don't see any need to ever delete a window in response to a frame (or window) resize. Stefan