mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Feedback for fullscreen.
This commit is contained in:
parent
52420cc24d
commit
bfd5834f4c
7 changed files with 13 additions and 41 deletions
|
|
@ -138,7 +138,7 @@ void container_move_to(struct sway_container *container,
|
|||
return;
|
||||
}
|
||||
|
||||
if (container->sway_view->is_fullscreen) {
|
||||
if (container->type == C_VIEW && container->sway_view->is_fullscreen) {
|
||||
struct sway_container *old_workspace = container;
|
||||
if (old_workspace->type != C_WORKSPACE) {
|
||||
old_workspace = container_parent(old_workspace, C_WORKSPACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue