headerless window, undecoration
Peter Harris
peter at harr.ca
Wed Apr 16 17:38:27 UTC 2025
On 2025-04-16 1:00 p.m., Steven J Abner wrote:
> Managed to create undecorated window. Seems to imply can only be done by
> window managers that support Motif.
They all (well, all the ones that support undecorated windows, which is
basically all of them) support this Motif property.
> The code that did it for me:
>
> typedef struct Hints {
> unsigned long flags;
All the fields should be uint32_t. "long" is not always 32 bits in size.
The StackOverflow article probably uses "long" because Xlib, unlike xcb,
uses "long" in its XChangeProperty API and translates to 32-bits internally.
Peter Harris
More information about the Xcb
mailing list