Use wlroots surface locking for transactions

References: https://github.com/swaywm/wlroots/issues/2957
This commit is contained in:
Simon Ser 2021-07-02 12:02:12 +02:00
parent 22226560e3
commit 6f9940c039
7 changed files with 92 additions and 140 deletions

View file

@ -432,10 +432,6 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
return false;
}
if (!wl_list_empty(&view->saved_buffers)) {
return false;
}
for (int i = 0; i < workspace->current.floating->length; ++i) {
struct sway_container *floater =
workspace->current.floating->items[i];