diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index d2889236f..44a4a48e3 100644 --- a/src/shell-window-tracker.c +++ b/src/shell-window-tracker.c @@ -225,23 +225,6 @@ get_appid_from_window (MetaWindow *window) return appid_guess; } -/** - * window_is_tracked: - * - * We don't attempt to associate override-redirect windows with applications - * at all, since there's no reason to do so yet. - * - * Returns: %TRUE iff we want to scan this window for application association - */ -static gboolean -window_is_tracked (MetaWindow *window) -{ - if (meta_window_is_override_redirect (window)) - return FALSE; - - return TRUE; -} - /** * shell_window_tracker_is_window_interesting: * @@ -529,7 +512,7 @@ track_window (ShellWindowTracker *self, { ShellApp *app; - if (!window_is_tracked (window)) + if (!shell_window_tracker_is_window_interesting (window)) return; app = get_app_for_window (self, window); @@ -539,10 +522,6 @@ track_window (ShellWindowTracker *self, /* At this point we've stored the association from window -> application */ g_hash_table_insert (self->window_to_app, window, app); - /* However, only put interesting windows in the window list for an app. */ - if (!shell_window_tracker_is_window_interesting (window)) - return; - if (shell_app_is_transient (app)) { /* For a transient application, it's possible one of our title regexps