~eliasnaur/gio

217c26098b04072f8bcce5081a7b81d512957061 — Elias Naur a month ago 1ad59f5
Revert "app: [Windows] don't draw after WM_DESTROY destroyed the window"

This reverts commit 635df374952019ff8d274646ea9ce040744daa0f because it
didn't fix #603 after all.
1 files changed, 2 insertions(+), 1 deletions(-)

M app/os_windows.go
M app/os_windows.go => app/os_windows.go +2 -1
@@ 563,7 563,8 @@ func (w *window) runLoop() {
	msg := new(windows.Msg)
loop:
	for {
		if w.hwnd != 0 && w.animating && !windows.PeekMessage(msg, 0, 0, 0, windows.PM_NOREMOVE) {
		anim := w.animating
		if anim && !windows.PeekMessage(msg, 0, 0, 0, windows.PM_NOREMOVE) {
			w.draw(false)
			continue
		}