mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-19 05:34:04 -04:00
Merge pull request #709 from qaqland/clean-rendermon
opt: remove unused variable in function rendermon
This commit is contained in:
commit
c344dfe7a2
1 changed files with 0 additions and 2 deletions
|
|
@ -4560,7 +4560,6 @@ void monitor_check_skip_frame_timeout(Monitor *m) {
|
||||||
void rendermon(struct wl_listener *listener, void *data) {
|
void rendermon(struct wl_listener *listener, void *data) {
|
||||||
Monitor *m = wl_container_of(listener, m, frame);
|
Monitor *m = wl_container_of(listener, m, frame);
|
||||||
Client *c = NULL, *tmp = NULL;
|
Client *c = NULL, *tmp = NULL;
|
||||||
struct wlr_output_state pending = {0};
|
|
||||||
LayerSurface *l = NULL, *tmpl = NULL;
|
LayerSurface *l = NULL, *tmpl = NULL;
|
||||||
int32_t i;
|
int32_t i;
|
||||||
struct wl_list *layer_list;
|
struct wl_list *layer_list;
|
||||||
|
|
@ -4621,7 +4620,6 @@ skip:
|
||||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||||
} else {
|
} else {
|
||||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||||
wlr_output_state_finish(&pending);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果需要更多帧,确保安排下一帧
|
// 如果需要更多帧,确保安排下一帧
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue