(display, actionId, _deviceId, _timestamp)
| 537 | } |
| 538 | |
| 539 | export function handleAccelerator(display, actionId, _deviceId, _timestamp) { |
| 540 | const action = actionIdMap[actionId]; |
| 541 | if (action) { |
| 542 | console.debug("#keybindings", "Schemaless keybinding activated", |
| 543 | actionId, action.name); |
| 544 | action.keyHandler(display, display.focus_window); |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | export function disableAction(action) { |
| 549 | if (action.id === Meta.KeyBindingAction.NONE) { |