How do you autohide it?
I hear Wayland has an unique protocol to implement autohide without the 1px "mouse sensor" line; could anyone please point me at the code that is used to do that?
Not wayland itself, but wayfire, I assume that's what you meant :)
Are you interested in the compositor or the client implementation? In both cases you are looking for the wayfire-shell protocol.
I am looking for the client implementation. I know about gtk4-layer-shell but do not know how to set up autohide with it.
I am looking for the client implementation. I know about gtk4-layer-shell but do not know how to set up autohide with it.
You're probably looking for this: https://github.com/WayfireWM/wf-shell/blob/master/src%2Futil%2Fwf-autohide-window.cpp#L195
The protocol itself is here: https://github.com/WayfireWM/wf-shell/blob/master/proto%2Fwayfire-shell-unstable-v2.xml#L74
The zwf_hotstop_v2_* functions are generated from the protocol declaration.