Skip to content

Commit aca74e3

Browse files
committed
onerror parameter missing for Window.create_window()
1 parent d1cd807 commit aca74e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Xlib/xobject/drawable.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,12 @@ class Window(Drawable):
322322
def create_window(self, x, y, width, height, border_width, depth,
323323
window_class = X.CopyFromParent,
324324
visual = X.CopyFromParent,
325+
onerror = None,
325326
**keys):
326327

327328
wid = self.display.allocate_resource_id()
328329
request.CreateWindow(display = self.display,
330+
onerror = onerror,
329331
depth = depth,
330332
wid = wid,
331333
parent = self.id,

0 commit comments

Comments
 (0)