(modifier: string)
| 13 | windowMoveModifier?: string; |
| 14 | windowResizeModifier?: string; |
| 15 | regions?: RuntimePointerRegion[]; |
| 16 | appLockIgnored?: boolean; |
| 17 | appLockIgnoreModifier?: string; |
| 18 | } |
| 19 | |
| 20 | type RegionEventSource = (listener: PointerRegionListener) => () => void; |
| 21 | |
| 22 | let regionEventSource: RegionEventSource | null = null; |
| 23 | const hotCornerUnsubscribes = new Map<string, () => void>(); |
| 24 | |
| 25 | /** @internal Connects `bindHotCorner` to `COMPOSITOR.event.onPointerRegion`. */ |
| 26 | export function installPointerRegionEventSource(source: RegionEventSource): void { |
| 27 | regionEventSource = source; |
| 28 | } |
| 29 |
no test coverage detected