diff --git a/panda/src/cocoadisplay/cocoaGraphicsWindow.mm b/panda/src/cocoadisplay/cocoaGraphicsWindow.mm index efe9849ff5..e92dabdac2 100644 --- a/panda/src/cocoadisplay/cocoaGraphicsWindow.mm +++ b/panda/src/cocoadisplay/cocoaGraphicsWindow.mm @@ -807,6 +807,11 @@ set_properties_now(WindowProperties &properties) { cocoadisplay_cat.debug() << "Setting size to " << width << ", " << height << "\n"; + // Cocoa doesn't send an event, and the other + // resize-window handlers will do nothing once the properties + // have been changed, so do this now + set_size_and_recalc(width, height); + _context_needs_update = true; properties.clear_size();