[mutter] compositor: Set the background actor to be reactive by default
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] compositor: Set the background actor to be reactive by default
- Date: Sun, 17 Feb 2013 20:44:23 +0000 (UTC)
commit f5de1c78af52e7c3628e93446cf75c92534bce6d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 21 06:58:19 2012 -0500
compositor: Set the background actor to be reactive by default
Combined with the previous patch, this gives us an easy way to
connect for events on the wallpaper.
https://bugzilla.gnome.org/show_bug.cgi?id=681540
src/compositor/compositor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index fcee450..bb9cc38 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -607,6 +607,7 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
info->window_group = meta_window_group_new (screen);
info->top_window_group = meta_window_group_new (screen);
info->background_actor = meta_background_actor_new_for_screen (screen);
+ clutter_actor_set_reactive (info->background_actor, TRUE);
info->overlay_group = clutter_group_new ();
clutter_container_add (CLUTTER_CONTAINER (info->window_group),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]