@@ -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
}
@@ -72,17 +85,11 @@ public class Gala.WindowOverview : ActorTarget, ActivatableComponent {
72
85
var windows = new List<Meta . Window > ();
73
86
foreach (unowned var window_actor in wm. get_display (). get_window_actors ()) {
74
87
var window = window_actor. meta_window;
75
- if (ShellClientsManager . get_instance (). is_positioned_window (window)) {
76
- continue ;
77
- }
78
-
79
- if (window. window_type != Meta . WindowType . NORMAL &&
80
- window. window_type != Meta . WindowType . DIALOG ||
88
+ if (ShellClientsManager . get_instance (). is_positioned_window (window) ||
89
+ window. window_type != NORMAL && window. window_type != DIALOG ||
81
90
window. is_attached_dialog () ||
82
91
window_ids != null && ! (window. get_id () in window_ids)
83
92
) {
84
- window_actor. hide ();
85
-
86
93
continue ;
87
94
}
88
95
0 commit comments