mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Create sway_workspace struct.
This commit is contained in:
parent
bfd5834f4c
commit
c685ef081f
8 changed files with 28 additions and 26 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#include "sway/output.h"
|
||||
#include "sway/tree/container.h"
|
||||
#include "sway/tree/view.h"
|
||||
#include "sway/tree/workspace.h"
|
||||
#include "log.h"
|
||||
|
||||
static void seat_device_destroy(struct sway_seat_device *seat_device) {
|
||||
|
|
@ -457,7 +458,8 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
new_workspace = container_parent(new_workspace, C_WORKSPACE);
|
||||
}
|
||||
|
||||
if (last_workspace == new_workspace && last_workspace->fullscreen
|
||||
if (last_workspace == new_workspace
|
||||
&& last_workspace->sway_workspace->fullscreen
|
||||
&& !container->sway_view->is_fullscreen) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue