From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: override_redirect of X Window System Date: Wed, 24 Sep 2003 20:17:47 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <669F8BA2-EEBB-11D7-8175-00039363E640@swipnet.se> References: <1064425246.8452.1.camel@littlegreen> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064427686 32742 80.91.224.253 (24 Sep 2003 18:21:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2003 18:21:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 24 20:21:24 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2EGS-0005kH-00 for ; Wed, 24 Sep 2003 20:21:24 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2ENH-0005lp-00 for ; Wed, 24 Sep 2003 20:28:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2EDh-0006Cl-7U for emacs-devel@quimby.gnus.org; Wed, 24 Sep 2003 14:18:33 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A2EDY-0006CY-Aj for emacs-devel@gnu.org; Wed, 24 Sep 2003 14:18:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A2EDW-0006Bc-66 for emacs-devel@gnu.org; Wed, 24 Sep 2003 14:18:23 -0400 Original-Received: from [193.201.16.94] (helo=stubby.bodenonline.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2EDV-0006BP-Kc for emacs-devel@gnu.org; Wed, 24 Sep 2003 14:18:21 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id h8OJ2xoa003784; Wed, 24 Sep 2003 21:03:00 +0200 Original-To: Mike Hearn In-Reply-To: <1064425246.8452.1.camel@littlegreen> X-Mailer: Apple Mail (2.552) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16608 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16608 > On Wed, 2003-09-24 at 18:14, Jan D. wrote: >>> It is not a metacity bug - there is an agreed upon protocol for full >>> screening windows, and override-redirect is not it. >> >> http://bugzilla.gnome.org/show_bug.cgi?id=106740 > > This is about being able to move windows above panels for accessibility > reasons, not how apps are supposed to fullscreen. And that is what I said. > >>> To Kazu: I'd recommend you research the latest EWMH specification, >>> that >>> will show you how to properly fullscreen windows. >> >> This requires XSendEvent. It is not available from elisp. >> It is also not a solution that works on all window managers out there. > > It works on all standards compliant WMs, which is an increasing number. > There's no need to expose XSendEvent to elisp, simply having a > fullscreen function that does the necessary machinery would work too. The good things about standards is that there are so many to choose from :-) Seriously, there are WMs that where created before EWMH existed. One is CDE, which is used a lot. Others in use still, are fvwm 1.x, olvwm, mwm and KDE 1.x. If we add a solution to Emacs that says "call this function to get fullscreen" and then it does not work on peoples WMs, I think we are going to see bug reports. And if there is one response I don't like w.r.t. things that doesn't work, it is "please change your unrelated app/version/OS... to something else". Exposing XSendEvent can be potentially useful for more things than fullscreen. For example, expand vertically and/or horizontally that are also in EWMH. But I do not make these desicions for Emacs, these are just my opinions. If it is descided to put in a C-function that only works on a subset of X window WMs, I can implement it. But I think my suggestion is more portable and more useful (hardly surprising :-) Jan D.