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,gmane.emacs.pretest.bugs Subject: Re: fullcreen = fullboth yields undesirable behavior Date: Mon, 24 Sep 2007 08:06:49 +0200 Message-ID: <46F753F9.3020001@swipnet.se> References: <46F51867.4080101@swipnet.se> <20070922174113.GA6168@printf.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190614036 26310 80.91.229.12 (24 Sep 2007 06:07:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2007 06:07:16 +0000 (UTC) Cc: Tom Tromey , emacs-pretest-bug@gnu.org To: Henrik Enberg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 24 08:07:11 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 1IZh66-0002y1-Va for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 08:07:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZh64-0004pP-Bh for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 02:07:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZh61-0004pA-Rr for emacs-devel@gnu.org; Mon, 24 Sep 2007 02:07:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZh60-0004oh-BK for emacs-devel@gnu.org; Mon, 24 Sep 2007 02:07:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZh60-0004oe-99 for emacs-devel@gnu.org; Mon, 24 Sep 2007 02:07:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZh5z-0002l2-VU for emacs-devel@gnu.org; Mon, 24 Sep 2007 02:07:04 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZh5M-0007ME-6k for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 02:06:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IZh5z-0002ks-7n for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 02:07:03 -0400 Original-Received: from av7-2-sn3.vrr.skanova.net ([81.228.9.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZh5y-0002km-Tf for emacs-pretest-bug@gnu.org; Mon, 24 Sep 2007 02:07:03 -0400 Original-Received: by av7-2-sn3.vrr.skanova.net (Postfix, from userid 502) id C13EC38023; Mon, 24 Sep 2007 08:05:57 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av7-2-sn3.vrr.skanova.net (Postfix) with ESMTP id AC6D937E9E; Mon, 24 Sep 2007 08:05:57 +0200 (CEST) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id B672637E4C; Mon, 24 Sep 2007 08:07:01 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: <20070922174113.GA6168@printf.se> X-Detected-Kernel: Linux 2.4-2.6 X-Detected-Kernel: 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:79669 gmane.emacs.pretest.bugs:19985 Archived-At: Henrik Enberg skrev: > Tom Tromey writes: >>>>>>> "Jan" =3D=3D Jan Dj=E4rv writes: >> Jan> gtk_window_maximize does what Emacs already does. It can't be us= ed >> Jan> when Emacs is not compiled with Gtk+, so there is no point in doi= ng >> Jan> so. >> >> There is still a difference in behavior between Emacs and other Gtk >> apps. >> >> If I eval (make-frame '((fullscreen . fullboth))), it takes up the >> entire screen, hiding the panel. >> >> However, when I run the roughly equivalent pygtk program which calls >> 'window.maximize()', I get the results I expect -- a maximized window >> where I can see the wm decorations and which does not hide the panel. >=20 > Emacs probably needs to look at the _NET_WM_STRUT and > _NET_WM_STRUT_PARTIAL properties of the EWMH spec when determining > width and height in Fx_create_frame. No. Those are set, for example, by gnome-panel to inform the window mana= ger=20 that those areas are reserved and should not be obscured by fullscreen wi= ndows. Jan D.