Lucas de Sena ca04f20fec implement a table of atoms defined only once
Previously, adding a new atom into the code required:
1. In <icc.h>, add the line `extern Atom my_new_atom;` declaring the new atom.
2. In <icc.c>, add the line `Atom my_new_atom;` defining the new atom.
3. In <icc.c>, add the line `my_new_atom = XInternAtom(dpy, "MY_NEW_ATOM", False);`
   interning this new atom, and assigning the interned value to the variable.

Now, just add a line with the atom's name in the X-MACRO in <icc.h>, and
a XInternAtoms(3) and a set of macros will do the rest.

All new atoms will be referred to as an entry in the ATOMS[] array.
For example:

	ATOMS[MY_NEW_ATOM]

The exception are for those REALLY OLD atoms that have already a
dedicated compile-time-known value defined at <X11/Xatom.h>.  Those
do not need to be interned; and are referred to with a constant
beginning with the `XA_` prefix.  For example:

	XA_WM_CLASS
2026-02-19 20:22:50 +00:00
2023-10-07 23:03:03 +01:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2026-01-30 01:54:19 +00:00
2017-03-26 13:00:19 +02:00
2023-12-21 22:09:25 -08:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:51 +01:00
2023-10-07 23:02:40 +01:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:51 +01:00
2017-03-26 13:00:19 +02:00
2023-12-21 22:09:25 -08:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:51 +01:00
2017-03-26 13:00:19 +02:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:51 +01:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:40 +01:00
2017-03-26 13:00:19 +02:00
2023-12-21 22:09:25 -08:00
2017-03-26 13:00:19 +02:00

amiwm

Amiga Workbench inspired window manager for Xorg.

Upstream repository

The current upstream repository for this particular fork is at https://github.com/amiwm/amiwm. Please file tickets, pull requests, etc there.

Getting started

Before compiling, make sure that you have following packages installed:

gcc make autoconf xorg xorg-xinit xorg-dev

First, run configuration script:

./configure

After that, you can either edit the Makefile, or leave it as is. After that, compile and install amiwm using

make
sudo make install

Hopefully, your compilation was succesfull - now you should have amiwm installed!

Launching amiwm

To launch amiwm, use

startx amiwm

Or add "amiwm" to your xinitrc file

Configuration

Configuration utility is not yet available; To configure amiwm, you'll need to create and edit .amiwmrc file in your home directory. To do so, read amiwm's manpage.

Authors

Originally created by Marcus Comstedt; Contributions by

  • Scott Lawrence
  • Nicolas Sipieter
  • redsPL.

Previous repositories

Previously, amiwm was using bzr instead of git; The bzr repository can be found here

This repository started as a fork from https://github.com/sdomi/amiwm.

License

This project is published under a custom license - see LICENSE.md for details.

Amiga, AmigaOS and Workbench are registered trademarks of AMIGA International Inc.

Description
Mirror of erikarn amiwm fork
Readme 626 KiB
Languages
C 87.2%
Roff 3.8%
Shell 3.5%
Makefile 1.8%
Yacc 1.5%
Other 2.2%