mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Merge pull request #2390 from emersion/fix-fullscreen-segfault
Fix segfault with fullscreen
This commit is contained in:
commit
f19add2702
1 changed files with 3 additions and 2 deletions
|
@ -317,8 +317,9 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) {
|
||||||
struct sway_container *workspace = output_get_active_workspace(output);
|
struct sway_container *workspace = output_get_active_workspace(output);
|
||||||
if (workspace->current.ws_fullscreen) {
|
if (workspace->current.ws_fullscreen) {
|
||||||
if (workspace->current.ws_fullscreen->type == C_VIEW) {
|
if (workspace->current.ws_fullscreen->type == C_VIEW) {
|
||||||
send_frame_done_container_iterator(
|
output_view_for_each_surface(output,
|
||||||
workspace->current.ws_fullscreen, when);
|
workspace->current.ws_fullscreen->sway_view,
|
||||||
|
send_frame_done_iterator, when);
|
||||||
} else {
|
} else {
|
||||||
send_frame_done_container(output, workspace->current.ws_fullscreen,
|
send_frame_done_container(output, workspace->current.ws_fullscreen,
|
||||||
when);
|
when);
|
||||||
|
|
Loading…
Reference in a new issue