oga fa87ef4a9e Finally fix the really annoying race where if you rapidly switch groups several
times you'd end up losing clients (thinking they had gone away).

From the ICCCM (which should not be read without a stiff drink in hand,
I made this mistake so you don't have to): to request a window to be
withdrawn one should send a synthetic UnmapRequest event when iconified.
To request iconification one should just unmap the window. The ICCM
further recommends that the synthetic event should just be taken as a
cue to withdraw, to deal with legacy clients. Taking a hint from this,
rework xev_handle_unmaprequest to correctly detect these situations.  A
Withdrawn window may come back anywhere, even as a subwindow of
something else, so the correct way to handle this state is to forget it
ever existed.

While i'm here, kill a dumb attempt to notice this in client_delete, and
nuke the very unnecessary arguments.

Todd confirmed this fixes the `race'.

ok todd@, ok ok okan@
2009-01-17 18:41:50 +00:00
2009-01-13 15:25:43 +00:00
2008-04-15 20:24:41 +00:00
2009-01-15 00:32:35 +00:00

--------------------------------------------------------------------------------
cwm release three
--------------------------------------------------------------------------------
   by Marius Aamodt Eriksen <marius@monkey.org>
   contributions by Andy Adamson <dros@monkey.org>,
                    Niels Provos <provos@monkey.org>,
                    Martin Murray <mmurray@monkey.org>,
                    Dimitris Economou <dimeco@stanford.edu> &
                    Antti Nykänen <aon@iki.fi>.

   http://monkey.org/~marius/cwm

DESCRIPTION

   cwm is a window manager initially inspired by evilwm[1].  It
   developed out of modifications to evilwm, but eventually the code
   base of evilwm did not accomodate well for the new features added.
   So calmwm was written from scratch.

   Its main goal is to be as efficient as possible, while providing
   a very clean, simple & attractive aesthetic.

   cwm has several novel features, including the ability to search
   for windows.

HIGHLIGHTS IN RELEASE TWO

   * Improved alt-tabbing, including the ability to reverse cycle.
   * Display of a context menu when alt-tabbing, showing the previous,
     current and next window in the cycle order.
   * Much improved ranking in search.
   * In search-menus, the ability to list every item.

HIGHLIGHTS IN RELEASE THREE

   * More search ranking improvements
   * Many contributions by Antti Nykänen: keyboard binding "i18n",
     show window labels in minimized window menu, automatic window
     grouping, MWM hints support & some bug fixes.
   * Xft support & the addition of the -f flag (see manpage).

INSTALL

   ./configure
   make
   su
   make install

DOCUMENTATION

   See the manpage cwm(1).

LICENSE

   cwm is distributed under a BSD like license. Please see the LICENSE
   file or the top of any source file for more information.

[1] http://evilwm.sourceforge.net/
Description
portable version of OpenBSD's cwm(1) window manager
Readme 2.3 MiB
Languages
C 83.5%
Roff 8.5%
Yacc 6%
Perl 1.2%
Makefile 0.7%