portable version of OpenBSD's cwm(1) window manager
Go to file
okan 3f0b6cf4ea cvsimport
* refs/heads/master: (21 commits)
  Lost fix from r1.112; add comment.
  Mechanical change: group->gc
  Add consistent checks against NULL.
  Move client cycle grab/ungrab into a more relevant place; while here, update comments about why we need to grab/ungrab the keyboard.
  Re-add lost chunk in group_cycle from r1.113.
  Further simplify _NET_WM_DESKTOP handling using new group_assign().
  oops; remove left over debug print
  Allowing sending a valid 'nogroup' (0) group_ctx to group_assign() (since we init all groups), though assigning the client's group to NULL for 'sticky'; use this simplification in a few places (others to follow).
  Split out sticky mode checks and the restoring of a client's group and _NET_WM_DESKTOP from the config-based auto-grouping; no (intentional) behavior changes.  Needed for further work in cleaning up this area.
  Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), but bottom-to-top order, as per spec (notified Thomas as well).
  Don't allow freeze operations on fullscreen (consistent with what fullscreen does).
  Sort _NET_WM_STATE Atoms like the spec.
  Move CLIENT_STICKY logic from client hide/unhide to group hide/unhide; rationale being that clients should be able to hide/unhide independently of group switching.
  Add Xkb modifier to ignore mask; from Alexander Polakov.
  Fix whitespace.
  Add client freeze extension to _NET_WM_STATE Atom, allowing flag to persist. As usual with new Atoms, requires X restart.
  _NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not position and size; based on discussion with a few.
  Instead of special casing the 'term' and 'lock' commands, go back to keeping them hidden; showing them has apparently caused confusion/angst.
  Leave command list order from .cwmrc alone; remove sort.
  Bring group and client cycle closer together.
  ...
2015-08-28 12:07:28 +00:00
calmwm.c cvsimport 2015-01-22 11:06:01 +01:00
calmwm.h cvsimport 2015-08-28 12:07:28 +00:00
client.c cvsimport 2015-08-28 12:07:28 +00:00
conf.c cvsimport 2015-08-28 12:07:28 +00:00
cwm.1 Fix whitespace. 2015-08-21 16:52:37 +00:00
cwm.pub also sign releases with signify 2014-12-15 16:00:31 +01:00
cwmrc.5 introduce 'groupsearch' for group menu search; matches on either group 2015-07-12 14:31:47 +00:00
fgetln.c Add missing functions 2010-02-21 19:18:12 +01:00
group.c cvsimport 2015-08-28 12:07:28 +00:00
kbfunc.c cvsimport 2015-08-28 12:07:28 +00:00
Makefile cvsimport 2015-07-01 16:40:15 +02:00
menu.c cvsimport 2015-07-12 14:31:47 +00:00
mousefunc.c cvsimport 2015-08-28 12:07:28 +00:00
parse.y cvsimport 2015-06-09 13:02:15 +00:00
queue.h queue.h: update. 2015-04-06 19:47:04 +02:00
README update README 2015-01-24 18:31:20 +01:00
reallocarray.c add reallocarray.c 2015-03-29 18:12:47 +02:00
screen.c cvsimport 2015-08-28 12:07:28 +00:00
search.c cvsimport 2015-08-28 12:07:28 +00:00
strlcat.c update imported str*.c 2015-01-24 19:04:46 +01:00
strlcpy.c update imported str*.c 2015-01-24 19:04:46 +01:00
strtonum.c update imported str*.c 2015-01-24 19:04:46 +01:00
update.sh update.sh: fix mirror 2014-09-07 17:49:00 +02:00
util.c cvsimport 2015-01-22 11:06:01 +01:00
xevents.c cvsimport 2015-08-28 12:07:28 +00:00
xmalloc.c cvsimport 2015-03-29 00:21:05 +00:00
xutil.c cvsimport 2015-08-28 12:07:28 +00:00

This is a port of OpenBSD's excellent cwm[0] to Linux and other
Unices.

    cwm is a window manager for X11 which contains many features that
    concentrate on the efficiency and transparency of window
    management.  cwm also aims to maintain the simplest and most
    pleasant aesthetic.

This port requires pkg-config, Xft, Xinerama and Xrandr.  The included Makefile
should work with both GNU make and BSD make.  It has been built successfully on
OpenBSD, FreeBSD, NetBSD, OS X 10.9 and Linux.

This version actively tracks changes in the OpenBSD CVS repository.
Releases are roughly coordinated.

The revision controlled version is at https://github.com/chneukirchen/cwm
Releases can be found at http://chneukirchen.org/releases

You are welcome to join the IRC channel ##cwm on Freenode to talk about cwm.


ChangeLog:

2012-05-02: First public release 5.1 of portable cwm.

2014-04-13: Second public release 5.5 of portable cwm.

User visible changes (for a full list including smaller bug fixes, see
http://www.openbsd.org/plus.html ff.)

Changes made between OpenBSD 5.1 and 5.2
* Fixed cwm(1) atom (WM_PROTOCOLS) style handing; closing a window will no
  longer close entire application if the client supports CLIENT_PROTO_DELETE.
* Re-implement atom handing for more consistent separation of cwm(1) and
  Extended Window Manager Hints.
* cwm(1) better integrated into the freedesktop.org Window Manager
  Specification Project.

Changes made between OpenBSD 5.2 and 5.3
* Set the initial cwm(1) group to "1".
* Added cwm(1) per-group vert/horiz tiling support with new bind commands
  "vtile" and "htile."
* Made cwm(1) screen font an Xft(3) font.
* Specific last match for autogroup in cwmrc(5).
* Tab completion support for cwm(1) menus.
* Allow cwm(1) clients to be resized from a max state.
* Multibyte input to cwm(1) menu code now possible.

Changes made between OpenBSD 5.3 and 5.4
* Added support for mouse based group {,r}cycle to cwmrc(5).
* Allow mouse button4 and button5 in cwmrc(5).
* Made cwm(1) check for, and honour, CWStackMode and CWSibling change requests
  during a ConfigureRequest event.
* Honour PATH search order for cwm(1)'s exec.

Changes made between OpenBSD 5.5 and 5.4
* Only set the cwm(1) urgency flag if the client is not active.
* Allow the cwm(1) config parser continue parsing even after encountering an
  error.
* cwm(1) now follows the EWMH spec: if the cardinal returned is 0xFFFFFFFF (-1)
  then the window should appear on all desktops.
* Made cwm(1) supply a more useful title for windows launched via the ssh(1)
  command menu ("[ssh] ").
* Allowed cwm(1) to accept _NET_WM_DESKTOP and _NET_CURRENT_DESKTOP
  ClientMessage.
* Implemented cwm(1) support for _NET_WM_STATE_FULLSCREEN hint, with keybinding
  changes: CM-f "fullscreen", CM-m "maximize".
* Instead of using the work area, use the Xinerama area for cwm(1) snap
  calculations.
* Save-set when cwm(1) is re-exec'ing so as to not lose State on our hidden
  clients.
* Added cwmrc(5) support for XUrgency and matching
  _NET_WM_STATE_DEMANDS_ATTENTION ewmh hint, with configurable urgencyborder.
* Prepend the group shortcut in the cwm(1) client search menu;
  prepend shortcut in unhide menu.
* If not hidden during an UnmapNotify event, cwm(1) will now un-manage the
  client.
* Like "gap", made cwm(1) "snapdist" per-screen.
* Removed cwmrc(5) option to bind a key by keycode with brackets, which never
  worked. Users should be using keysym names not keycodes.
* Re-added cwm(1) support for WM_TAKE_FOCUS. Solves keyboard input focus loss
  for java apps.
* For cwm(1) clients that support WM_TAKE_FOCUS in their WM_PROTOCOLS property,
  send a ClientMessage event.

2015-01-24: Third public release 5.6 of portable cwm.

* Support building on FreeBSD and OS X.
* Support for sticky windows (_NET_WM_STATE_STICKY).
* Internal cleanups and bug fixes.

--Christian Neukirchen <chneukirchen@gmail.com>

[0]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/