diff options
author | David Robillard <d@drobilla.net> | 2021-05-08 13:42:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-08 13:42:27 -0400 |
commit | 17ad5fd72bd51c5324b8e52e1f55020d5a97944a (patch) | |
tree | e4f2be67baee06ed26ae323a2452188980e8dbdc /src | |
parent | 44ac442eb14a0cef9c51f2654b87f56afc17ff2a (diff) | |
download | pugl-17ad5fd72bd51c5324b8e52e1f55020d5a97944a.tar.gz pugl-17ad5fd72bd51c5324b8e52e1f55020d5a97944a.tar.bz2 pugl-17ad5fd72bd51c5324b8e52e1f55020d5a97944a.zip |
X11: Always send an initial configure before map
I think the conditional here was because this is typical when the view is
embedded, but window manager behaviour is all over the place and this is
something we want to always guarantee.
Diffstat (limited to 'src')
-rw-r--r-- | src/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1087,7 +1087,7 @@ dispatchX11Events(PuglWorld* const world) } else if (event.type == PUGL_CONFIGURE) { // Update configure event to be dispatched after loop view->impl->pendingConfigure = event; - } else if (event.type == PUGL_MAP && view->parent) { + } else if (event.type == PUGL_MAP) { // Get initial window position and size XWindowAttributes attrs; XGetWindowAttributes(view->impl->display, view->impl->win, &attrs); |