From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: fullcreen = fullboth yields undesirable behavior Date: Sat, 22 Sep 2007 19:41:13 +0200 Message-ID: <20070922174113.GA6168@printf.se> References: <46F51867.4080101@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-Printable X-Trace: sea.gmane.org 1190482907 13896 80.91.229.12 (22 Sep 2007 17:41:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2007 17:41:47 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Jan =?iso-8859-1?Q?Dj=E4rv?= To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 22 19:41:32 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 1IZ8yt-0001Eq-Vn for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2007 19:41:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZ8yr-0001H3-MV for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2007 13:41:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZ8yp-0001GW-3m for emacs-devel@gnu.org; Sat, 22 Sep 2007 13:41:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZ8yn-0001GC-Ee for emacs-devel@gnu.org; Sat, 22 Sep 2007 13:41:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZ8yn-0001G9-Bd for emacs-devel@gnu.org; Sat, 22 Sep 2007 13:41:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ8ym-0000iL-Vd for emacs-devel@gnu.org; Sat, 22 Sep 2007 13:41:21 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ8yB-00073x-28 for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 13:40:43 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IZ8yj-0000hR-36 for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 13:41:20 -0400 Original-Received: from pne-smtpout1-sn2.hy.skanova.net ([81.228.8.83]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ8yi-0000h4-M7 for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 13:41:16 -0400 Original-Received: from rocksteady.printf.se (217.210.129.142) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 46EE75D9001A234D; Sat, 22 Sep 2007 19:41:13 +0200 Original-Received: by rocksteady.printf.se (Postfix, from userid 1000) id E8736FAB9; Sat, 22 Sep 2007 19:41:13 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Detected-Kernel: Solaris 8 (1) 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:79512 gmane.emacs.pretest.bugs:19974 Archived-At: Tom Tromey writes: > >>>>> "Jan" =3D=3D Jan Dj=E4rv writes: >=20 > Jan> gtk_window_maximize does what Emacs already does. It can't be use= d > Jan> when Emacs is not compiled with Gtk+, so there is no point in doin= g > Jan> so. >=20 > There is still a difference in behavior between Emacs and other Gtk > apps. >=20 > If I eval (make-frame '((fullscreen . fullboth))), it takes up the > entire screen, hiding the panel. >=20 > 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. 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.