use memory for system cursor

smithay only considers memory based
cursor elements for scan-out on a
cursor plane.
This commit is contained in:
Christian Meissl 2024-02-12 20:10:44 +01:00 committed by Victoria Brekenfeld
parent d1aac380ff
commit e74b0dfaaa
2 changed files with 21 additions and 35 deletions

View file

@ -909,7 +909,7 @@ pub fn render_workspace_to_buffer(
}
smithay::render_elements! {
pub WindowCaptureElement<R> where R: ImportAll;
pub WindowCaptureElement<R> where R: ImportAll + ImportMem;
WaylandElement=WaylandSurfaceRenderElement<R>,
CursorElement=cursor::CursorRenderElement<R>,
}