floating: Don't render hint for maximized window

This commit is contained in:
Victoria Brekenfeld 2023-10-24 15:44:19 +02:00
parent b114865916
commit 3901e637b0

View file

@ -503,7 +503,7 @@ impl FloatingLayout {
alpha, alpha,
); );
if focused == Some(elem) { if focused == Some(elem) && !elem.is_maximized(false) {
let mut indicator_geometry = Rectangle::from_loc_and_size( let mut indicator_geometry = Rectangle::from_loc_and_size(
self.space.element_location(elem).unwrap(), self.space.element_location(elem).unwrap(),
elem.geometry().size, elem.geometry().size,