projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a661f26
)
Schedule repaint from surface destructor
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 11 Aug 2010 12:56:47 +0000
(08:56 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 11 Aug 2010 12:59:54 +0000
(08:59 -0400)
Not just the surface_destroy protocol entry points.
compositor.c
patch
|
blob
|
history
diff --git
a/compositor.c
b/compositor.c
index
e31cb75
..
454d81e
100644
(file)
--- a/
compositor.c
+++ b/
compositor.c
@@
-186,6
+186,8
@@
destroy_surface(struct wl_resource *resource, struct wl_client *client)
l->func(l, surface);
free(surface);
+
+ wlsc_compositor_schedule_repaint(compositor);
}
static void
@@
-419,11
+421,7
@@
static void
surface_destroy(struct wl_client *client,
struct wl_surface *surface)
{
- struct wlsc_surface *es = (struct wlsc_surface *) surface;
-
wl_resource_destroy(&surface->base, client);
-
- wlsc_compositor_schedule_repaint(es->compositor);
}
static void