From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81312 invoked by alias); 7 Oct 2015 15:48:45 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 81301 invoked by uid 89); 7 Oct 2015 15:48:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Oct 2015 15:48:43 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t97Fmfew018338 for ; Wed, 7 Oct 2015 11:48:41 -0400 Received: from [192.168.1.3] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t97FmeC5007144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 7 Oct 2015 11:48:41 -0400 Subject: Re: Window manager commands in native window manager multiwindow mode To: cygwin-xfree@cygwin.com References: From: Ken Brown Message-ID: <56153EE7.3020602@cornell.edu> Date: Wed, 07 Oct 2015 15:48:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00001.txt.bz2 On 10/7/2015 11:20 AM, Gulliver Smith wrote: > I ask this question from time to time just in case someone new sees it > and decides to work on it or others might agree that it is a priority. > Other people have raised this over the last few years as well. > > The issue is that I would like to raise windows from within a program > (Emacs to be precise), but it doesn't work with the native window > manager running in multiwindow mode. > > Emacs has several nice commands for which I have not-so-nice work > arounds (opening and closing windows). These are: > > (raise-frame f) > (iconify-frame f) > (decionify-frame f) > (make-frame-visible f) > > None of these work with Cygwin X. Please give a detailed recipe for reproducing the problem. I just tried the following: 1. Start the X server by running startxwin in a Cygwin Terminal (mintty). 2. Use the xdg menu icon to start xterm. 3. In xterm, run 'emacs&'. 4. In emacs, run 'M-x iconify-frame'. The current frame did indeed get iconified, as expected. I'm not sure how to test the other commands. Ken P.S. The cygwin-xfree mailing list is obsolete. You should use the main cygwin mailing list in the future to make sure your mail is seen by the maximum number of people. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/