[gnome-shell] [ShellWindowTracker] Create fallback apps again



commit 10991d363d38997c6c99436c8ae69b5d3cd841b6
Author: Colin Walters <walters verbum org>
Date:   Fri Oct 23 12:26:05 2009 -0400

    [ShellWindowTracker] Create fallback apps again
    
    Creating window-based apps got lost in the code refactoring.

 src/shell-window-tracker.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
index b0174d0..57226b7 100644
--- a/src/shell-window-tracker.c
+++ b/src/shell-window-tracker.c
@@ -319,6 +319,11 @@ get_app_for_window_direct (MetaWindow  *window)
         app = shell_app_system_get_app (appsys, id);
     }
 
+  if (app == NULL)
+    {
+      app = _shell_app_new_for_window (window);
+    }
+
   return app;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]