From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Sat, 22 Aug 2009 13:55:37 +0900 Message-ID: <87eir44fcm.fsf@uwakimon.sk.tsukuba.ac.jp> 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 1250916374 10154 80.91.229.12 (22 Aug 2009 04:46:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 04:46:14 +0000 (UTC) Cc: martin rudalics , grischka , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 22 06:46:07 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 1MeiUP-0004bt-6g for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2009 06:46:05 +0200 Original-Received: from localhost ([127.0.0.1]:50538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeiUO-0007Fj-Du for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2009 00:46:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeiUI-0007Ct-5g for emacs-devel@gnu.org; Sat, 22 Aug 2009 00:45:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeiUD-00073e-K0 for emacs-devel@gnu.org; Sat, 22 Aug 2009 00:45:57 -0400 Original-Received: from [199.232.76.173] (port=54745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeiUD-00073X-HQ for emacs-devel@gnu.org; Sat, 22 Aug 2009 00:45:53 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:37041) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeiUC-0002c5-PM for emacs-devel@gnu.org; Sat, 22 Aug 2009 00:45:53 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 1D9768210; Sat, 22 Aug 2009 13:45:50 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 613631A25CB; Sat, 22 Aug 2009 13:55:37 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 891381effa11+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114503 Archived-At: Stefan Monnier writes: > 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). FWIW, this is exactly the policy I suggested. So Mozilla has a time machine .... > 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, That's it. In X11, these are called "window manager hints", and as the name suggests, the window manager is free to ignore them. If the user doesn't like that behavior, they'll install a different window manager, so you had better be prepared to deal with such window managers -- it's the user's preference. > or it's done after the fact by "rejecting" the resize request. Can't be done in X11, I don't know about other GUIs.