mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-25 07:50:26 +01:00
Previously, we were requiring all layers to be included in wlr_output_state.layers and wlr_output_layer_state.buffer to be set to NULL to disable a layer. This commit changes these semantics: disabled layers are left out of wlr_output_state.layers, and wlr_output_layer_state.buffer is required to be non-NULL. This new API should make it easier for callers to populate the layers, at the cost of some additional complexity in backends, mostly addressed by introducing a new wlr_output_state_is_layer_enabled() helper. |
||
|---|---|---|
| .. | ||
| wlr_buffer.h | ||
| wlr_ext_image_capture_source_v1.h | ||
| wlr_keyboard.h | ||
| wlr_output.h | ||
| wlr_pointer.h | ||
| wlr_switch.h | ||
| wlr_tablet_pad.h | ||
| wlr_tablet_tool.h | ||
| wlr_touch.h | ||