(win: Meta.Window)
| 46 | }; |
| 47 | |
| 48 | export const getWindowXID = function (win: Meta.Window): string | null { |
| 49 | const desc = win.get_description() || ''; |
| 50 | const match = desc.match(/0x[0-9a-f]+/); |
| 51 | |
| 52 | return match !== null ? match[0] : null; |
| 53 | }; |
no test coverage detected