mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-28 10:34:50 +00:00
Consolidate into a single if statement
This commit is contained in:
parent
c7d8324337
commit
8f19c8b508
4
dwl.c
4
dwl.c
@ -1689,9 +1689,7 @@ rendermon(struct wl_listener *listener, void *data)
|
||||
skip = 1;
|
||||
}
|
||||
}
|
||||
if (skip)
|
||||
return;
|
||||
if (!skip && !wlr_scene_output_commit(m->scene_output))
|
||||
if (skip || !wlr_scene_output_commit(m->scene_output))
|
||||
return;
|
||||
/* Let clients know a frame has been rendered */
|
||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user