mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-12-16 09:53:19 +00:00
stick to dwm style
This commit is contained in:
parent
5f260a3d36
commit
38fe384783
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…
x
Reference in New Issue
Block a user