[gnome-shell] ctrlAltTab: Fix external DOCK windows



commit a32f27a2aaaf0afa2ab101ca4ca3015061a2eb37
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Mar 8 14:18:06 2013 +0100

    ctrlAltTab: Fix external DOCK windows
    
    We always add external DOCK windows to the ctrl-alt-tab switcher,
    e.g. separate dock applications or nautilus' desktop windows.
    Since commit 1f46a0dc26d81, all items in the switcher are expected
    to set a proxy parameter, but the aforementioned code was not
    updated accordingly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695395

 js/ui/ctrlAltTab.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/ctrlAltTab.js b/js/ui/ctrlAltTab.js
index efab87b..f751cb1 100644
--- a/js/ui/ctrlAltTab.js
+++ b/js/ui/ctrlAltTab.js
@@ -103,6 +103,11 @@ const CtrlAltTabManager = new Lang.Class({
                 else
                     icon = textureCache.bind_pixbuf_property(windows[i], 'icon');
                 items.push({ name: windows[i].title,
+                             proxy: windows[i].get_compositor_private(),
+                             focusCallback: Lang.bind(windows[i],
+                                 function(timestamp) {
+                                     Main.activateWindow(this, timestamp);
+                                 }),
                              iconActor: icon,
                              sortGroup: SortGroup.MIDDLE });
             }


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