Clients do not receive VisibilityNotify events when a compositor is running
See https://github.com/i3/i3lock/issues/204 for full context.
Summary: screen lockers such as i3lock, xsecurelock and others rely on VisibilityNotify X11 events to raise their lock window over other windows such as desktop notifications. When running a compositor such as compton or unagi, Xorg no longer sends VisibilityNotify events when a window is obscured.
This seems to be because windows are always considered fully visible when a compositor is around, which sounds like a bug to me.
Are we onto something here, or are we misunderstanding something?