From a1104fc848ea5c2e4b267793052d4c3bbfd2d739 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Thu, 20 Feb 2020 00:51:04 -0800 Subject: [PATCH] Changed to fix X11 BadWindow error at start. --- src/main-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main-x11.c b/src/main-x11.c index d650d198..0efa8ee7 100644 --- a/src/main-x11.c +++ b/src/main-x11.c @@ -643,7 +643,7 @@ static errr Infowin_init_data(Window dad, int x, int y, int w, int h, /* What happened here? XXX XXX XXX */ /* If no parent given, depend on root */ - if (dad == None) + if (dad == None) dad = Metadpy->root; /* Create the Window XXX Error Check */ xid = XCreateSimpleWindow(Metadpy->dpy, dad, x, y, w, h, b, fg, bg); -- 2.21.1 (Apple Git-122.3)