From 11eeb961f15219da506a050ffc432e052689dcd6 Mon Sep 17 00:00:00 2001 From: Elaina Martineau Date: Thu, 14 Mar 2019 18:40:20 -0600 Subject: Get geometry after mapping --- src/winwidget.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/winwidget.c b/src/winwidget.c index 12fb8df..f3ecc84 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -721,6 +721,8 @@ void winwidget_show(winwidget winwid) /* wait for the window to map */ D(("Waiting for window to map\n")); XMaskEvent(disp, StructureNotifyMask, &ev); + winwidget_get_geometry(winwid, NULL); + /* Unfortunately, StructureNotifyMask does not only mask * the events of type MapNotify (which we want to mask here) * but also such of type ConfigureNotify (and others, see -- cgit v1.2.3