mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
Consolidate into a single if statement
This commit is contained in:
parent
c7d8324337
commit
8f19c8b508
1 changed files with 1 additions and 3 deletions
4
dwl.c
4
dwl.c
|
|
@ -1689,9 +1689,7 @@ rendermon(struct wl_listener *listener, void *data)
|
||||||
skip = 1;
|
skip = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (skip)
|
if (skip || !wlr_scene_output_commit(m->scene_output))
|
||||||
return;
|
|
||||||
if (!skip && !wlr_scene_output_commit(m->scene_output))
|
|
||||||
return;
|
return;
|
||||||
/* Let clients know a frame has been rendered */
|
/* Let clients know a frame has been rendered */
|
||||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue