@@ -14,6 +14,7 @@ public class Gala.WindowOverview : ActorTarget, ActivatableComponent {
14
14
15
15
private GestureController gesture_controller; // Currently not used for actual touchpad gestures but only as controller
16
16
17
+ private Clutter . Actor background;
17
18
private Clutter . Actor monitors;
18
19
private ModalProxy modal_proxy;
19
20
@@ -28,6 +29,18 @@ public class Gala.WindowOverview : ActorTarget, ActivatableComponent {
28
29
enabled = false
29
30
};
30
31
32
+ background = new Clutter .Actor () {
33
+ #if HAS_MUTTER47
34
+ background_color = Cogl.Color.from_string ("black ");
35
+ #else
36
+ background_color = Clutter.Color.from_string ("black ")
37
+ #endif
38
+ };
39
+ background.add_constraint (new Clutter .BindConstraint (this , SIZE , 0 ));
40
+ add_child (background );
41
+
42
+ add_target (new PropertyTarget (MULTITASKING_VIEW , background , "opacity ", typeof (uint ), 0u, 150u));
43
+
31
44
monitors = new ActorTarget ();
32
45
add_child (monitors );
33
46
}
@@ -75,17 +88,11 @@ public class Gala.WindowOverview : ActorTarget, ActivatableComponent {
75
88
var windows = new List<Meta . Window > ();
76
89
foreach (unowned var window_actor in wm. get_display (). get_window_actors ()) {
77
90
var window = window_actor. meta_window;
78
- if (ShellClientsManager . get_instance (). is_positioned_window (window)) {
79
- continue ;
80
- }
81
-
82
- if (window. window_type != Meta . WindowType . NORMAL &&
83
- window. window_type != Meta . WindowType . DIALOG ||
91
+ if (ShellClientsManager . get_instance (). is_positioned_window (window) ||
92
+ window. window_type != NORMAL && window. window_type != DIALOG ||
84
93
window. is_attached_dialog () ||
85
94
! (window. get_id () in window_ids)
86
95
) {
87
- window_actor. hide ();
88
-
89
96
continue ;
90
97
}
91
98
0 commit comments