Go to file
David du Colombier d3b212ad29 lib/libstuff/x11/colors: fix initialization of CTuple in loadcolor
This error was reported by Valgrind:

==237870== Conditional jump or move depends on uninitialised value(s)
==237870==    at 0x484AF0E: bcmp (vg_replace_strmem.c:1221)
==237870==    by 0x40C9DB: update_imgs (div.c:117)
==237870==    by 0x40CB4C: div_update_all (div.c:138)
==237870==    by 0x420A0F: view_arrange (view.c:611)
==237870==    by 0x41F88C: view_update (view.c:337)
==237870==    by 0x418B59: message_root (message.c:686)
==237870==    by 0x42474D: ixp_srv_writectl (srv_util.c:232)
==237870==    by 0x41322E: fs_write (fs.c:513)
==237870==    by 0x423462: handlereq (request.c:321)
==237870==    by 0x422BFF: handlefcall (request.c:146)
==237870==    by 0x4240E8: handle_conns (server.c:118)
==237870==    by 0x42424C: ixp_serverloop (server.c:169)
2023-09-30 22:32:17 +02:00
.github/workflows .github: fix order of build steps 2023-06-25 20:57:45 +02:00
alternative_wmiircs replace egrep by grep -E 2023-09-30 01:08:37 +02:00
cmd fix clang warnings 2023-06-25 20:48:37 +02:00
debian [debian] Fix some lintian warnings. 2010-07-07 22:47:39 +00:00
doc Add doc/mkfile for building wmii.pdf with an optional MAINFONT variable for building on systems without LinoType's Palatino font. 2011-09-27 02:13:58 -04:00
examples [menu] Update manual. Add file completion example. 2010-10-07 16:31:42 -04:00
img [menu] Add vertical mode. 2010-10-07 16:31:41 -04:00
include fix build with GCC 10 and upper 2021-10-15 22:12:16 +02:00
lib lib/libstuff/x11/colors: fix initialization of CTuple in loadcolor 2023-09-30 22:32:17 +02:00
man Rebuild wimenu.1 2014-08-02 15:22:00 -07:00
mk fix build on Ubuntu 12.04 2017-07-28 13:53:31 +02:00
rc Fix Notice command. 2013-12-09 17:43:36 +01:00
test Rearrange some things. 2010-06-14 10:30:23 -04:00
util replace egrep by grep -E 2023-09-30 01:08:37 +02:00
.hgignore [python] Use distutils to compile and install pygmi/pyxp. 2010-06-27 17:47:45 -04:00
.hgsigs Added signature for changeset 3ea520ff8668c297a5c6b667a68b3c3a1f44fec5 2007-05-30 21:22:10 -04:00
config.mk [python] Use distutils to compile and install pygmi/pyxp. 2010-06-27 17:47:45 -04:00
DISTRIBUTORS Fix some DISTRIBUTORS typos spotted by Snader_LB (OFTC). 2011-05-27 19:52:23 -04:00
FAQ Use IXP_ASSERT_VERSION macro. 2010-06-17 18:23:25 -04:00
LICENSE Add locale charset crud. 2010-06-06 05:07:24 -04:00
Makefile rename README to README.md in Makefile 2018-05-19 23:04:43 +02:00
NEWS [python] Use distutils to compile and install pygmi/pyxp. 2010-06-27 17:47:45 -04:00
PKGBUILD [arch] Fix pkgdesc for pyxp/pygmi. 2010-07-07 00:37:58 -04:00
README.md move from Travis CI to GitHub Actions 2022-04-04 22:15:59 +02:00
TODO Best just read the diff. 2008-08-25 12:47:56 -04:00

Build Status Coverity Scan Build Status

Abstract

wmii is a dynamic window manager for X11. It supports classic and tiled window management with extended keyboard, mouse, and 9P-based[1] remote control. It consists of the wmii(1) window manager and the wmiir(1) the remote access utility.

Requirements

In order to build wmii you need the Xlib header files and libixp. xmessage is used by the default scripts. Libixp, if not provided, can be obtained from http://libs.suckless.org/. On debian, you should be able to obtain all dependencies by running make deb-dep. Python is recommended for more advanced configurations.

Installation

First, edit config.mk to match your local setup.

To build, simply run: make

To install, run the following, as root if necessary: make install

On debian, you should only have to run make deb to create a debian package. No further configuration should be necessary.

Running wmii

Add the following line to your .xinitrc to start wmii using startx:

until wmii; do :; done

In order to connect wmii to a specific display, make sure that the DISPLAY environment variable is set correctly. For example:

DISPLAY=:1 wmii

This will start wmii on display :1.

Configuration

The configuration of wmii is done by customizing the rc script wmiirc, which remotely controls the window manager and handles various events. The main wmiirc script lives in @GLOBALCONF@ while wmiirc_local goes in @LOCALCONF@.

More advanced versions of wmiirc are provided in python and ruby. For more information on them, see alternative_wmiircs/README.

Credits

The following people have contributed especially to wmii in various ways:

  • Christoph Wegscheider
  • Georg Neis
  • Uwe Zeisberger
  • Uriel
  • Scot Doyle
  • Sebastian Hartmann
  • Bernhard Leiner
  • Jonas Domeij
  • Vincent <10 dot 50 at free dot fr>
  • Oliver Kopp
  • Sebastian Roth
  • Nico Golde
  • Steve Hoffman
  • Christof Musik
  • Steffen Liebergeld
  • Tobias Walkowiak
  • Sander van Dijk
  • Salvador Peiro
  • Anthony Martin
  • Icarus Sparry
  • Norman Golisz
  • Stefano K. Lee
  • Stefan Tibus
  • Neptun
  • Daniel Wäber <_wabu at web dot de>

References

[1] http://9p.cat-v.org [2] http://plan9.us