(actionHandler)
| 365 | } |
| 366 | |
| 367 | export function asKeyHandler(actionHandler) { |
| 368 | if (Utils.version[0] >= 48) { |
| 369 | return (display, mw, evt, binding) => actionHandler(mw, Tiling.spaces.selectedSpace, { display, binding }); |
| 370 | } else { |
| 371 | return (display, mw, binding) => actionHandler(mw, Tiling.spaces.selectedSpace, { display, binding }); |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | export function impliedOptions(options) { |
| 376 | options = options = Object.assign({ mutterFlags: Meta.KeyBindingFlags.NONE }, options); |
no outgoing calls
no test coverage detected