swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 210f52401f19affa3ea9562cf047cffcbdb5427f
parent d4ea60b7461cc1d1c7fb811fea8e445536c20a45
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 13 Aug 2014 21:45:06 -0700

screen: Send destroy event when destroyed

Diffstat:
Mlibswc/screen.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/libswc/screen.c b/libswc/screen.c @@ -142,6 +142,7 @@ void screen_destroy(struct screen * screen) { struct swc_output * output, * next; + swc_send_event(&screen->base.event_signal, SWC_SCREEN_DESTROYED, NULL); wl_list_for_each_safe(output, next, &screen->outputs, link) swc_output_destroy(output); framebuffer_plane_finalize(&screen->planes.framebuffer);