ctrlAltTab: Use arrow function for callback
This was left over because we are binding a different `this`, but it is easy enough to replace. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:
parent
bef5043135
commit
69f63dc94f
@ -100,9 +100,9 @@ var CtrlAltTabManager = class CtrlAltTabManager {
|
||||
|
||||
items.push({ name: windows[i].title,
|
||||
proxy: windows[i].get_compositor_private(),
|
||||
focusCallback: function(timestamp) {
|
||||
Main.activateWindow(this, timestamp);
|
||||
}.bind(windows[i]),
|
||||
focusCallback: timestamp => {
|
||||
Main.activateWindow(windows[i], timestamp);
|
||||
},
|
||||
iconActor: icon,
|
||||
iconName: iconName,
|
||||
sortGroup: SortGroup.MIDDLE });
|
||||
|
Loading…
Reference in New Issue
Block a user