~ctwm/ctwm/trunk

Viewing all changes in revision 512.1.4.

  • Committer: Matthew Fuller
  • Date: 2016-08-13 10:56:51 UTC
  • mto: This revision was merged to the branch mainline in revision 513.
  • Revision ID: fullermd@over-yonder.net-20160813105651-n7mmybgfryxfbuou
Fix up losing the occupation window by iconifying it.

If you try to f.occupy something while the Occupation window is
already up, it skips out and does nothing.  But iconifying it doesn't
close it, it just hides the window.  So if you iconify the Occupation
window, you're screwed; it's lost forever.

Possibly we should just prevent iconifying it completely, but that's
more invasive, so the simplest thing is just to say "if it's not
mapped, it's not really up".  This does have the side effect that you
can now do things like f.addtoworkspace a window and have it take
effect while the Occupy window is up, which may confuse things a
little, but that's probably the best overall option...

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: