projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbd3b5
)
shell: do not double-init input region
author
Pekka Paalanen
<ppaalanen@gmail.com>
Wed, 10 Oct 2012 09:49:29 +0000
(12:49 +0300)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 11 Oct 2012 01:38:52 +0000
(21:38 -0400)
weston_surface_create() already inits the input region.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
4600be3
..
f9aa546
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-3475,6
+3475,7
@@
debug_repaint_binding(struct wl_seat *seat, uint32_t time, uint32_t key,
weston_surface_configure(surface, 0, 0, 8192, 8192);
wl_list_insert(&compositor->fade_layer.surface_list,
&surface->layer_link);
+ pixman_region32_fini(&surface->input);
pixman_region32_init(&surface->input);
/* Here's the dirty little trick that makes the