aboutsummaryrefslogtreecommitdiff
path: root/gui/PopUpWidget.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-16 06:26:26 +0000
committerTorbjörn Andersson2006-06-16 06:26:26 +0000
commit50673f9f1fada025a0b6804b0bd17cd9262226dc (patch)
tree7cf16b1392ce9d1ef5bf331134e1506526d75ab6 /gui/PopUpWidget.cpp
parent84b54c31732538464ee8d75644a0587aa32ff5f5 (diff)
downloadscummvm-rg350-50673f9f1fada025a0b6804b0bd17cd9262226dc.tar.gz
scummvm-rg350-50673f9f1fada025a0b6804b0bd17cd9262226dc.tar.bz2
scummvm-rg350-50673f9f1fada025a0b6804b0bd17cd9262226dc.zip
The top dialog can change during the event loop. In that case, flush all the
dialog-related events since they were probably generated while the old dialog was still visible, and therefore note intended for the new one. This hopefully fixes strange behaviour/crashes with pop-up widgets. (Most easy to trigger in 3x mode or when running ScummVM under Valgrind.) svn-id: r23141
Diffstat (limited to 'gui/PopUpWidget.cpp')
0 files changed, 0 insertions, 0 deletions