aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/detail/x11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c
index fa23bf0..486e83b 100644
--- a/pugl/detail/x11.c
+++ b/pugl/detail/x11.c
@@ -797,6 +797,10 @@ puglDispatchEvents(PuglWorld* world)
} else if (event.type == PUGL_CONFIGURE) {
// Expand configure event to be dispatched after loop
view->impl->pendingConfigure = event;
+ view->frame.x = event.configure.x;
+ view->frame.y = event.configure.y;
+ view->frame.width = event.configure.width;
+ view->frame.height = event.configure.height;
} else {
// Dispatch event to application immediately
puglDispatchEvent(view, &event);