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.
Kristian Høgsberg 12 years ago
parent 25bb696fc8
commit 81585e9d2a
  1. 1
      src/xwayland/window-manager.c

@ -827,6 +827,7 @@ weston_wm_window_draw_decoration(void *data)
}
if (window->surface && !window->fullscreen) {
pixman_region32_fini(&window->surface->pending.input);
pixman_region32_init_rect(&window->surface->pending.input,
t->margin, t->margin,
width - 2 * t->margin,

Loading…
Cancel
Save