element/stack: Style fixes

This commit is contained in:
Victoria Brekenfeld 2024-07-26 14:59:11 +02:00
parent 04b5c18a03
commit 61f11d1363
5 changed files with 27 additions and 15 deletions

View file

@ -14,7 +14,7 @@ use crate::{
},
};
use calloop::LoopHandle;
use cosmic::{config::Density, iced::Command, widget::mouse_area, Apply};
use cosmic::{config::Density, iced::Command, widget::mouse_area, Apply, Theme};
use smithay::{
backend::{
input::KeyState,
@ -496,6 +496,7 @@ impl Program for CosmicWindowInternal {
pixels: &mut tiny_skia::PixmapMut<'_>,
_damage: &[Rectangle<i32, BufferCoords>],
scale: f32,
_theme: &Theme,
) {
let mut mask = self.mask.lock().unwrap();
if self.window.is_maximized(false) {