From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Sun, 31 Oct 2010 13:13:59 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <83hbg66vt4.fsf@gnu.org> <83d3qt77lj.fsf@gnu.org> <4CCA9E5D.5060002@swipnet.se> <838w1h6zbp.fsf@gnu.org> <4CCAC90B.4070800@swipnet.se> <4CCB2713.5070104@swipnet.se> <4CCBC930.5060705@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1288500210 20637 80.91.229.12 (31 Oct 2010 04:43:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2010 04:43:30 +0000 (UTC) Cc: 7296@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 05:43:26 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PCPlM-0004VV-2B for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Oct 2010 05:43:24 +0100 Original-Received: from localhost ([127.0.0.1]:47016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCPlL-000513-GT for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Oct 2010 00:43:23 -0400 Original-Received: from [140.186.70.92] (port=58880 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCPlE-0004xv-Dn for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 00:43:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCPlC-0003oi-Rh for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 00:43:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCPlC-0003od-OV for bug-gnu-emacs@gnu.org; Sun, 31 Oct 2010 00:43:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCPF5-0004y2-15; Sun, 31 Oct 2010 00:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Oct 2010 04:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7296-submit@debbugs.gnu.org id=B7296.128849819019085 (code B ref 7296); Sun, 31 Oct 2010 04:10:02 +0000 Original-Received: (at 7296) by debbugs.gnu.org; 31 Oct 2010 04:09:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCPEr-0004xm-L1 for submit@debbugs.gnu.org; Sun, 31 Oct 2010 00:09:49 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCPEn-0004xh-W5 for 7296@debbugs.gnu.org; Sun, 31 Oct 2010 00:09:47 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 77CF7C0563; Sun, 31 Oct 2010 13:13:59 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 31 Oct 2010 00:10:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41294 Archived-At: >>>>> On Sat, 30 Oct 2010 11:25:44 +0200, Lennart Borgman said: > The Emacs frame can be partly hidden by the taskbar even when the > frame is the active w32 window if the height is set to the value > x-dsiplay-pixel-height (when for example the frame is aligned to the > top and the taskbar is at the bottom of the display), that is the > problem. Sorry if that was unclear. Some X11 window managers automatically adjust window position/size (and send some notifications to the application) when it appears, so it fits in the screen. On Mac OS X, Cocoa also does similar adjustments for document windows (roughly speaking, windows with title bar), and Carbon doesn't. Sometimes it gives a cleaner implementation to emulate such window manager tasks at the application side for non-X11 ports. For example, the Mac port emulates maximized, fullwidth, fullheight, and fullscreen windows, which are (EWMH-aware) window-manager tasks on X11, at the application side. Perhaps W32 can do similar things for window position/size adjustments so the window height is automatically shortened when the specified height exceeds the "available" height. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp