Its just another Xorg/X11 feature that overrated Wayland does not have.
It works the same on FreeBSD and Illumos - its not limited to Linux in any way.
Below example from my vermaden.wordpress.com/freebsd-desktop setup.
... and also a 'regular' shot.
Regards,
vermaden