We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb0c80 commit ebba18dCopy full SHA for ebba18d
src/WindowActorFetcher.vala
@@ -4,7 +4,7 @@
4
*/
5
6
/*
7
- * Sends a signal when a window texture is ready.
+ * Sends a signal when a window actor is ready.
8
* Useful when you need to use window actor when the window was created.
9
10
public class Gala.WindowActorFetcher : GLib.Object {
@@ -17,11 +17,11 @@ public class Gala.WindowActorFetcher : GLib.Object {
17
}
18
19
construct {
20
- start_check.begin ();
21
- }
22
-
23
- private async void start_check () {
24
Idle.add (() => {
+ if (window == null) {
+ return Source.REMOVE;
+ }
+
25
unowned var window_actor = (Meta.WindowActor) window.get_compositor_private ();
26
27
if (window_actor != null) {
0 commit comments