Re: What are struts?

Rhialto <[email protected]> Thu, 12 Jan 2023 23:04:00 +0100
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Thu 12 Jan 2023 at 16:10:39 -0500, Steve Litt wrote:
> There's been a discussion of "struts" in the context of "other windows'
> struts", but I don't know what struts are.

A strut is an area (typically along the edge of the screen) where
windows should stay away from. Usually there is something like a task
bar or menu bar or panel there. But if you maximize a window, that area
will remain unused. With some window managers you can't even move
another window over them, even partially.

The task bars are also windows, of course, and it would be usual that
those windows also set the strut. But in theory it could be a totally
different window which does it.

Here is a page describing it:
https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
linked from
https://stackoverflow.com/questions/21384819/x11-struts-geometry

ctwm treats _NET_WM_STRUT_PARTIAL like _NET_WM_STRUT, so the extra
fields (which reduce the reserved area) are ignored.

> SteveT
-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmPAg8wACgkQmYnGRWHD
+9OVAAf+IwVZw/38G3CRRbIKO7+E6YIq6npOJhwco06qV9YE2ShxKq/mveDXeeX2
TYwpQQP4q+GGB12dVb4aIT80lDzWPtRnh6akVsI9WYH0r9wbQmxuBwEK+T1FXP7q
MwxT2ThfggKe3DSPBvEpeNq0o+yV312i1uxA6VVdtmsSHBWWmoltsaySgz6FNc7O
H4TNNOIcNgu0YY5tu49++/V5l+3GVWrTi8V/slkqRDCVxYVczdTldubQ6SgsIseG
82CoqNTDiZEO9ObU/hiTlry0FzPErDh+6xMnObC9mJ0WHT6xXifwR/GY69uKaAdD
IAvVJTDew25LJ+NbRqExfl6ErKUA3g==
=zV5H
-----END PGP SIGNATURE-----