Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

portable version of OpenBSD's cwm(1) window manager

Make PREFIX, MANPATH and CFLAGS optional variables

This change will make it possible to override PREFIX, MANPATH and
CFLAGS using environment variables. This makes the Makefile a little
more flexible, benefiting both endusers and those porting to package
systems like FreeBSD Ports and pkgsrc.

By braakvaak@aol.com.
latest commit 1101877305
Christian Neukirchen authored
Octocat-spinner-32 Makefile Make PREFIX, MANPATH and CFLAGS optional variables March 21, 2014
Octocat-spinner-32 README builds on FreeBSD too March 14, 2014
Octocat-spinner-32 calmwm.c remove TAILQ_END and __dead hacks February 23, 2014
Octocat-spinner-32 calmwm.h remove TAILQ_END and __dead hacks February 23, 2014
Octocat-spinner-32 client.c cvsimport February 08, 2014
Octocat-spinner-32 conf.c cvsimport February 02, 2014
Octocat-spinner-32 cwm.1 Let the config parser continue parsing even after encountering an error; February 01, 2014
Octocat-spinner-32 cwmrc.5 keybinding -> key binding January 29, 2014
Octocat-spinner-32 fgetln.c Add missing functions February 21, 2010
Octocat-spinner-32 group.c cvsimport February 08, 2014
Octocat-spinner-32 kbfunc.c cvsimport January 30, 2014
Octocat-spinner-32 menu.c cvsimport February 02, 2014
Octocat-spinner-32 mousefunc.c cvsimport February 08, 2014
Octocat-spinner-32 parse.y cvsimport January 30, 2014
Octocat-spinner-32 queue.h Vendor OpenBSD queue.h,v 1.36 November 26, 2012
Octocat-spinner-32 screen.c cvsimport February 08, 2014
Octocat-spinner-32 search.c cvsimport February 08, 2014
Octocat-spinner-32 strlcat.c Add missing functions February 21, 2010
Octocat-spinner-32 strlcpy.c Add missing functions February 21, 2010
Octocat-spinner-32 strtonum.c Add missing functions February 21, 2010
Octocat-spinner-32 update.sh add update.sh which I use for importing from CVS December 17, 2013
Octocat-spinner-32 util.c Use vendored queue.h everywhere November 26, 2012
Octocat-spinner-32 xevents.c cvsimport February 03, 2014
Octocat-spinner-32 xmalloc.c cvsimport December 17, 2013
Octocat-spinner-32 xutil.c cvsimport February 27, 2014
README
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 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.


--Christian Neukirchen <chneukirchen@gmail.com>

[0]: http://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/
Something went wrong with that request. Please try again.