public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Steffen Dettmer <steffen.dettmer@gmail.com>
To: cygwin-xfree@cygwin.com
Subject: Cygwin X Windows (xterm) and VirtuaWin: How to fix the refresh problem when switching virtual desktops
Date: Wed, 15 May 2013 10:41:00 -0000	[thread overview]
Message-ID: <CAOBoUnP9vGdR86WkBq93vsazyyRYy0qbW64GV-88+nt7eGcX5w@mail.gmail.com> (raw)

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/


                 reply	other threads:[~2013-05-15 10:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOBoUnP9vGdR86WkBq93vsazyyRYy0qbW64GV-88+nt7eGcX5w@mail.gmail.com \
    --to=steffen.dettmer@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).