Mercurial > fife-parpg
diff engine/core/gui/guimanager.cpp @ 240:09f40db3f10c
Removed unused TimerListener.
Fix: We really don't need to copy the instance list each frame!
Fix: Don't swallow mouse focus events (i.o.w mouse entered/exited APP window
events. These are now propagated as Command events (for now) and can be used
to stop scrolling when the mouse leaves the app window).
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 24 Mar 2009 16:50:37 +0000 |
parents | e901bdec7578 |
children | 51cc05d862f2 |
line wrap: on
line diff
--- a/engine/core/gui/guimanager.cpp Tue Mar 24 16:32:08 2009 +0000 +++ b/engine/core/gui/guimanager.cpp Tue Mar 24 16:50:37 2009 +0000 @@ -126,10 +126,8 @@ return false; case SDL_ACTIVEEVENT: - if( evt.active.state & SDL_APPMOUSEFOCUS ) { - input->pushInput(evt); - return true; - } + // Actually Guichan doesn't care (it should!) + // so at least don't swallow mouse_focus events up. return false; default: