Skip to content

Commit ae4523d

Browse files
committed
gestures: Fix EXEC actions not completing.
1 parent 21f963d commit ae4523d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/ui/gestures/actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var make_action = (settings, definition, device) => {
5050
return new MediaAction(definition, device, threshold);
5151
}
5252

53-
if (action.startsWith("EXEC:")) {
53+
if (definition.action.startsWith("EXEC:")) {
5454
return new ExecAction(definition, device, threshold);
5555
}
5656
}
@@ -292,7 +292,7 @@ var ExecAction = class extends BaseAction {
292292
return;
293293
}
294294

295-
const real_action = action.replace("EXEC:", "");
295+
const real_action = this.definition.action.replace("EXEC:", "");
296296
try {
297297
GLib.spawn_command_line_async(real_action);
298298
} catch (e) {

0 commit comments

Comments
 (0)