mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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
This commit is contained in:
parent
b0774d795c
commit
f5de1c78af
@ -607,6 +607,7 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
|
|||||||
info->window_group = meta_window_group_new (screen);
|
info->window_group = meta_window_group_new (screen);
|
||||||
info->top_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);
|
info->background_actor = meta_background_actor_new_for_screen (screen);
|
||||||
|
clutter_actor_set_reactive (info->background_actor, TRUE);
|
||||||
info->overlay_group = clutter_group_new ();
|
info->overlay_group = clutter_group_new ();
|
||||||
|
|
||||||
clutter_container_add (CLUTTER_CONTAINER (info->window_group),
|
clutter_container_add (CLUTTER_CONTAINER (info->window_group),
|
||||||
|
Loading…
Reference in New Issue
Block a user