feat: support multiple fullscreen windows per workspace
This commit is contained in:
parent
9f28a764a7
commit
28ef6bdbc8
12 changed files with 381 additions and 308 deletions
|
|
@ -219,8 +219,8 @@ impl State {
|
|||
.workspaces
|
||||
.space_for_handle(&workspace)
|
||||
.unwrap()
|
||||
.get_fullscreen()
|
||||
.cloned()
|
||||
.get_fullscreen(&seat)
|
||||
.map(|f| f.surface.clone())
|
||||
.map(KeyboardFocusTarget::Fullscreen)
|
||||
else {
|
||||
return;
|
||||
|
|
@ -232,8 +232,8 @@ impl State {
|
|||
if let Some(surface) = shell
|
||||
.workspaces
|
||||
.space_for_handle(&workspace)
|
||||
.and_then(|w| w.get_fullscreen())
|
||||
.cloned()
|
||||
.and_then(|w| w.get_fullscreen(&seat))
|
||||
.map(|f| f.surface.clone())
|
||||
{
|
||||
shell.append_focus_stack(surface, &seat)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue