shell: Fix missing titlebars

This commit is contained in:
Victoria Brekenfeld 2023-03-07 22:20:44 +01:00
parent 659933b039
commit 5d173a46a6
11 changed files with 208 additions and 38 deletions

View file

@ -3,7 +3,7 @@
use crate::{
backend::render::{element::AsGlowRenderer, IndicatorShader},
shell::{
element::{CosmicMapped, CosmicMappedRenderElement},
element::{window::CosmicWindowRenderElement, CosmicMapped, CosmicMappedRenderElement},
focus::{
target::{KeyboardFocusTarget, WindowGroup},
FocusDirection,
@ -1311,6 +1311,7 @@ impl TilingLayout {
R: Renderer + ImportAll + ImportMem + AsGlowRenderer,
<R as Renderer>::TextureId: 'static,
CosmicMappedRenderElement<R>: RenderElement<R>,
CosmicWindowRenderElement<R>: RenderElement<R>,
{
#[cfg(feature = "debug")]
puffin::profile_function!();