AppDisplay: fix typo that prevented Ctrl+Enter in search
workspace is not a valid variable, the workspace index should be fetched from the params object. https://bugzilla.gnome.org/show_bug.cgi?id=657111
This commit is contained in:
parent
62048abbf5
commit
72037af241
@ -342,7 +342,7 @@ AppSearchProvider.prototype = {
|
||||
let openNewWindow = modifiers & Clutter.ModifierType.CONTROL_MASK;
|
||||
|
||||
if (openNewWindow)
|
||||
app.open_new_window(workspace);
|
||||
app.open_new_window(params.workspace);
|
||||
else
|
||||
app.activate_full(params.workspace, params.timestamp);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user