Pass the window id to the dump calback

This commit is contained in:
Kovid Goyal
2023-10-30 08:42:24 +05:30
parent a4193a1b02
commit 76158f39ba
5 changed files with 38 additions and 36 deletions

View File

@@ -21,6 +21,8 @@ def cnv(x):
class CmdDump(list):
def __call__(self, *a):
if a and isinstance(a[0], int):
a = a[1:]
self.append(tuple(map(cnv, a)))