cosmic_overlap_notify_unstable_v1 ↗
Copyright
Copytight © 2024 Victoria Brekenfeld Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- zcosmic_overlap_notify_v1 — get notifications of other elements overlapping layer surfaces
- zcosmic_overlap_notification_v1 — Subscription for overlapping toplevels on a layer-surface
cosmic_overlap_notify_unstable_v1
zcosmic_overlap_notify_v1
Version 1
- notify_on_overlap — get notified if a layer-shell is obstructed by a toplevel
Compositor Support
Version 1
cosmic 1.0.0
get notifications of other elements overlapping layer surfaces
The purpose of this protocol is to enable layer-shell client to get notifications if part of their surfaces are occluded other elements (currently toplevels and other layer-surfaces).
You can request a notification object for any of your zwlr_layer_surface_v1 surfaces, which will then emit overlap events.
cosmic_overlap_notify_unstable_v1
zcosmic_overlap_notification_v1
Version 1
- toplevel_enter — Toplevel entered the surface area
- toplevel_leave — Toplevel entered the surface area
- layer_enter — Layer surface entered the surface area
- layer_leave — Layer surface left the surface area
- destroy — destroy the notification object
Subscription for overlapping toplevels on a layer-surface