mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
rootston: fix urxvt damage on HiDPI outputs
util/region: add wlr_region_expand
This commit is contained in:
parent
d498855b9d
commit
2a855e6282
3 changed files with 40 additions and 0 deletions
|
|
@ -19,4 +19,11 @@ void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
|
|||
void wlr_region_transform(pixman_region32_t *dst, pixman_region32_t *src,
|
||||
enum wl_output_transform transform, int width, int height);
|
||||
|
||||
/**
|
||||
* Expands the region of `distance`. If `distance` is negative, it shrinks the
|
||||
* region.
|
||||
*/
|
||||
void wlr_region_expand(pixman_region32_t *dst, pixman_region32_t *src,
|
||||
int distance);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue