From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3521 invoked by alias); 15 May 2013 10:41:12 -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 3511 invoked by uid 89); 15 May 2013 10:41:12 -0000 X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-we0-f179.google.com (HELO mail-we0-f179.google.com) (74.125.82.179) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 15 May 2013 10:41:11 +0000 Received: by mail-we0-f179.google.com with SMTP id t59so1387619wes.38 for ; Wed, 15 May 2013 03:41:09 -0700 (PDT) X-Received: by 10.194.249.68 with SMTP id ys4mr3111871wjc.22.1368614469437; Wed, 15 May 2013 03:41:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.195.12.74 with HTTP; Wed, 15 May 2013 03:40:49 -0700 (PDT) From: Steffen Dettmer Date: Wed, 15 May 2013 10:41:00 -0000 Message-ID: Subject: Cygwin X Windows (xterm) and VirtuaWin: How to fix the refresh problem when switching virtual desktops To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-05/txt/msg00012.txt.bz2 Hi all in short: To make VirtuaWin refresh windows correctly when switching desktops, generate a window rule that uses "Hide by move" for the X windows. in more detail: Several people like virtual desktops. On Windows, they can be provided by a tool called VirtuaWin. However, together with Cygwin XServer there are issues with refreshing the X windows when switching desktops. I was annoyed for this known issue since years and every now and then I looked to the internet checking if a solution appeared. Interestingly such a solution exists [1] since years (2009) but I did not find it before - now I am so happy! As this had be questioned on this list but as far as I see without presenting the solution, I decided to write this mail. To make VirtuaWin refresh windows correctly when switching desktops, generate a window rule that uses "Hide by move" for X windows. This can be done by clicking with the middle mouse button on the title bar of an Cygwin X Windows window, such as an xterm, and select "Add Window Rule". In the dialog near bottom there is "Method for hiding the window", change it to "Hide by move window". Do not forget to press "Add" and "Apply" buttons afterwards. With middle-click titlebar and selecting "Info" it can be verified that instead of "Handling: Standard,Standard" now there should be "Handling Move,....". Please note that this might not instantly work for currently opened windows or windows on another desktop. Re-apply the rule on other desktops might help, a forum post [2] suggests rebooting (well, it's Windows). So just in case someone else lives with the same issue, I hope it helped that I repeated (copied) the solution [1] here. Regards, Steffen [1] http://sourceforge.net/projects/virtuawin/forums/forum/257054/topic/3413433 [2] http://sourceforge.net/projects/virtuawin/forums/forum/257054/topic/4089538 -- 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/