summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElaina Martineau <elainamartineau@gmail.com>2019-03-14 18:40:20 -0600
committerElaina Martineau <elainamartineau@gmail.com>2019-03-14 18:40:20 -0600
commit11eeb961f15219da506a050ffc432e052689dcd6 (patch)
treeabe3b5dd259937b539e61a7489a2c1ee4ced9253 /src
parent6af56d5411a0ced369d6f8125092fd1a051b497e (diff)
Get geometry after mapping
Diffstat (limited to 'src')
-rw-r--r--src/winwidget.c2
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