comparison gui/ui/main.c @ 36291:b2edfe1a11a6

Process events after destroying a window. This allows other windows to get their expose events.
author ib
date Thu, 01 Aug 2013 17:29:47 +0000
parents ebbd9730a8c6
children 7d250553d451
comparison
equal deleted inserted replaced
36290:6f543c795c4b 36291:b2edfe1a11a6
363 363
364 void uiMainDone (void) 364 void uiMainDone (void)
365 { 365 {
366 nfree(mainDrawBuffer); 366 nfree(mainDrawBuffer);
367 wsWindowDestroy(&guiApp.mainWindow); 367 wsWindowDestroy(&guiApp.mainWindow);
368 } 368 wsEvents();
369 }