diff --git a/js/ui/dash.js b/js/ui/dash.js index 21594b59c..d367aaac9 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -23,8 +23,7 @@ const DASH_ITEM_HOVER_TIMEOUT = 300; function getAppFromSource(source) { if (source instanceof AppDisplay.AppWellIcon) { - let appSystem = Shell.AppSystem.get_default(); - return appSystem.lookup_app(source.getId()); + return source.app; } else if (source.metaWindow) { let tracker = Shell.WindowTracker.get_default(); return tracker.get_window_app(source.metaWindow);