tiling: Add code to render group hints

This commit is contained in:
Victoria Brekenfeld 2023-05-17 19:46:21 +02:00
parent 84b3213146
commit 4ea0136a9b
8 changed files with 739 additions and 276 deletions

View file

@ -454,6 +454,7 @@ impl Workspace {
override_redirect_windows: &[X11Surface],
xwm_state: Option<&'a mut XWaylandState>,
draw_focus_indicator: Option<&Seat<State>>,
draw_groups: bool,
indicator_thickness: u8,
exclude_workspace_overview: bool,
) -> Result<Vec<WorkspaceRenderElement<R>>, OutputNotMapped>
@ -604,7 +605,14 @@ impl Workspace {
//tiling surfaces
render_elements.extend(
self.tiling_layer
.render_output::<R>(renderer, output, focused.as_ref(), indicator_thickness)?
.render_output::<R>(
renderer,
output,
focused.as_ref(),
layer_map.non_exclusive_zone(),
draw_groups,
indicator_thickness,
)?
.into_iter()
.map(WorkspaceRenderElement::from),
);