mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
xwm: Don't leak pending.input region
It's not really a leak, since the region is always a rectangle, but let's play by the rules. Conflicts: src/xwayland/window-manager.c
This commit is contained in:
parent
5efb413cbc
commit
5c936adb8d
1 changed files with 1 additions and 0 deletions
|
|
@ -755,6 +755,7 @@ weston_wm_window_draw_decoration(void *data)
|
|||
window->height + 2);
|
||||
window->surface->geometry.dirty = 1;
|
||||
|
||||
pixman_region32_fini(&window->surface->pending.input);
|
||||
pixman_region32_init_rect(&window->surface->pending.input,
|
||||
t->margin, t->margin,
|
||||
width - 2 * t->margin,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue