mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue