mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-09 08:21:03 -04:00
stick to dwm style
This commit is contained in:
parent
5f260a3d36
commit
38fe384783
1 changed files with 2 additions and 2 deletions
4
dwl.c
4
dwl.c
|
|
@ -1759,6 +1759,8 @@ rendermon(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
Client *c;
|
Client *c;
|
||||||
int render = 1;
|
int render = 1;
|
||||||
|
bool needs_frame;
|
||||||
|
pixman_region32_t damage;
|
||||||
|
|
||||||
/* This function is called every time an output is ready to display a frame,
|
/* This function is called every time an output is ready to display a frame,
|
||||||
* generally at the output's refresh rate (e.g. 60Hz). */
|
* generally at the output's refresh rate (e.g. 60Hz). */
|
||||||
|
|
@ -1775,8 +1777,6 @@ rendermon(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool needs_frame;
|
|
||||||
pixman_region32_t damage;
|
|
||||||
pixman_region32_init(&damage);
|
pixman_region32_init(&damage);
|
||||||
if (!wlr_output_damage_attach_render(m->damage, &needs_frame, &damage))
|
if (!wlr_output_damage_attach_render(m->damage, &needs_frame, &damage))
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue