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: Unmapped menus Date: Fri, 19 Apr 2002 22:34:38 +0200 (MEST) Sender: emacs-devel-admin@gnu.org Message-ID: <200204192034.WAA04226@pc35.bodenonline.com> References: <200204152154.g3FLsPM23642@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1019248587 15134 127.0.0.1 (19 Apr 2002 20:36:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 20:36:27 +0000 (UTC) Cc: emacs-devel@gnu.org, pmr@pajato.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16yf7L-0003vz-00 for ; Fri, 19 Apr 2002 22:36:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yfQq-00015D-00 for ; Fri, 19 Apr 2002 22:56:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yf76-0004NC-00; Fri, 19 Apr 2002 16:36:12 -0400 Original-Received: from stubby.bodenonline.com ([213.115.192.62]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yf6I-0004Fd-00; Fri, 19 Apr 2002 16:35:22 -0400 Original-Received: from pc35.bodenonline.com (IDENT:root@pc35.bodenonline.com [195.196.29.227] (may be forged)) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id g3JKWwX6009724; Fri, 19 Apr 2002 22:33:04 +0200 Original-To: rms@gnu.org In-Reply-To: <200204152154.g3FLsPM23642@aztec.santafe.edu> from "Richard Stallman" at apr 15, 2002 03:54:25 X-Mailer: ELM [version 2.5 PL0pre8] Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2809 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2809 > > I think this patch only works around the bug. The bug is that the > menu does not get unmapped when the main window is unmapped. > > Can anyone implement unmapping of menus when the Emacs frame's window > is unmapped? We need to do that, and it would be much easier if > someone who has experience with these things were to do it. This is not a solution. Some window managers (fvwm at least) lets you move in short increments towards the next workspace. If what we see is workspace 1 it kind of looks like this (M is a menu): ------------------------------ | workspace1 | workspace2 | | ---------- | | | | M | | | | | Emacs | | | | ---------- | | ------------------------------ By using ALT-Right arrow one can move the Emacs gradually towards workspace 2 ------------------------------ | workspace1 | workspace2 | | ---------- | | M | | | | | Emacs | | | ---------- | ------------------------------ so what you see is part of the Emacs main window, but the menu is left behind, outside the main window. In no situaton is the Emacs window unmapped. Thus, a keyboard grab to prevent this is the only solution. It what other applications (X toolkits really) do. Jan D.