aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11.c b/src/x11.c
index 4c4bb42..559c05b 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -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);