Lucas de Sena a8f92b4e5b Make fullscreen work on GTK applications
This commit implements the _NET_SUPPORTING_WM_CHECK property, defined
by the EWMH[1] (Extended Window Management Hints, aka wm-spec), which
indicates that a EWMH-compliant window manager is running.

A GTK application, when set to go fullscreen, first checks root window's
_NET_SUPPORTING_WM_CHECK property to determine whether a EWMH-compliant
window manager is running; and then checks the _NET_SUPPORTED property
to determine the supported protocols.

_NET_SUPPORTED was previously implemented, but _NET_SUPPORTING_WM_CHECK
was not.


This commit also fixes a misconception of the code related to screens.

The code deals with two different, unrelated concepts of screens: the
X11 screen, and the AmiWM screen.

The X11 screen, created by the X server independently of whether a
window manager is running, is a kind of “subdisplay”.  A X11 display
structure, which describes a connection to the X server, has one or more
screens.  Each X11 screen has its own root window and its own set of
clients that are specific to it, and cannot move to another X11 screen.
The user can even run two different window managers at the same time in
the same display, given that each is run in a different X11 screen.
Usually, there is only one X11 screen.

The _NET_SUPPORTING_WM_CHECK and _NET_SUPPORTED properties must be set
on the root window of each screen that AmiWM is managing.  Previously,
however, they were set everytime an AmiWM screen (a totally different
concept) was realized.  So, if i had 4 AmiWM screens configured in my
~/.amiwmrc file, setsupports() were called four times, even if i only
have a single X11 screen.

[1]: https://specifications.freedesktop.org/wm/latest/index.html
2026-01-10 02:58:39 +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
2017-03-26 13:00:19 +02:00
2023-12-21 22:09:25 -08:00
2023-12-21 22:09:25 -08: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
2023-12-21 22:09:25 -08:00
2017-03-26 13:00:19 +02:00
2023-10-07 23:02:51 +01:00
2026-01-10 02:58:39 +00:00
2026-01-10 02:58:39 +00:00
2023-01-15 20:51:47 -08: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
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
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%