From bf742c39262f6f250c39fb97ab74edb5192989f9 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Mon, 30 Oct 2023 12:54:21 +0100 Subject: [PATCH] Revert "shell/window-tracker: Exclude screen recorder window" This reverts commit 575ba13b9b4efa40f07d57d87d50d8f0466f2e16. That commit did not actually prevent the "Unknown" application from showing up in the dash or app switcher when the recorder was running, but it introduced a problem with Proton which also uses gstreamer OpenGL elements in its transcoder. This was causing the overview to get stuck while the transcoder was running due to the app for the "OpenGL Renderer" window being null. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7042 Part-of: --- src/shell-window-tracker.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index 8a486fac7..6a7240e47 100644 --- a/src/shell-window-tracker.c +++ b/src/shell-window-tracker.c @@ -412,13 +412,6 @@ get_app_for_window (ShellWindowTracker *tracker, if (meta_window_is_remote (window)) return _shell_app_new_for_window (window); - /* HACK: Exclude screen recorder from tracking until - * we implement a proper fix - */ - if (meta_window_get_wm_class (window) == NULL && - g_strcmp0 (meta_window_get_title (window), "OpenGL Renderer") == 0) - return NULL; - /* Check if the app's WM_CLASS specifies an app; this is * canonical if it does. */