shell: Fix clicking on background fullscreen surfaces
This commit is contained in:
parent
165f83fa38
commit
828c0a225b
1 changed files with 1 additions and 1 deletions
|
|
@ -799,7 +799,7 @@ impl Workspace {
|
|||
.toplevel_element_under(location)
|
||||
.or_else(|| self.tiling_layer.toplevel_element_under(location))
|
||||
.or_else(|| {
|
||||
if !last_focused.is_none_or(|t| !matches!(t, FocusTarget::Fullscreen(_))) {
|
||||
if last_focused.is_none_or(|t| !matches!(t, FocusTarget::Fullscreen(_))) {
|
||||
if let Some(fullscreen) = self.fullscreen.as_ref() {
|
||||
let geometry = self.fullscreen_geometry().unwrap();
|
||||
return fullscreen_element_under(fullscreen, geometry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue