fix: draw the focused window border for the current window only
This commit is contained in:
parent
5153d497e7
commit
0312f9a201
1 changed files with 11 additions and 7 deletions
|
|
@ -1753,13 +1753,17 @@ impl Workspace {
|
|||
self.floating_layer
|
||||
.render::<R>(
|
||||
renderer,
|
||||
render_focus
|
||||
.then(|| {
|
||||
focused.as_ref().and_then(|target| {
|
||||
if let FocusTarget::Window(mapped) = target {
|
||||
Some(mapped)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}),
|
||||
})
|
||||
})
|
||||
.flatten(),
|
||||
resize_indicator.clone(),
|
||||
indicator_thickness,
|
||||
alpha,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue