projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efb413
)
xwm: Don't leak pending.input region
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 15 Feb 2013 03:01:58 +0000
(22:01 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 19 Feb 2013 00:38:22 +0000
(19:38 -0500)
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
src/xwayland/window-manager.c
patch
|
blob
|
history
diff --git
a/src/xwayland/window-manager.c
b/src/xwayland/window-manager.c
index
d50cc5c
..
67e8236
100644
(file)
--- a/
src/xwayland/window-manager.c
+++ b/
src/xwayland/window-manager.c
@@
-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,