diff options
author | Elaina Martineau <elainamartineau@gmail.com> | 2019-03-14 18:40:20 -0600 |
---|---|---|
committer | Elaina Martineau <elainamartineau@gmail.com> | 2019-03-14 18:40:20 -0600 |
commit | 11eeb961f15219da506a050ffc432e052689dcd6 (patch) | |
tree | abe3b5dd259937b539e61a7489a2c1ee4ced9253 /src/winwidget.c | |
parent | 6af56d5411a0ced369d6f8125092fd1a051b497e (diff) |
Get geometry after mapping
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |