From ccf0afe07e647e41debfcf62acadb29d0bbef11e Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 25 Apr 2003 11:21:17 +0000 Subject: just some extra safety --- src/WinClient.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/WinClient.cc b/src/WinClient.cc index 5812b9b..7f15476 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WinClient.cc,v 1.3 2003/04/15 12:12:29 fluxgen Exp $ +// $Id: WinClient.cc,v 1.4 2003/04/25 11:21:17 fluxgen Exp $ #include "WinClient.hh" @@ -28,6 +28,7 @@ #include "Screen.hh" #include "i18n.hh" #include "FbAtoms.hh" +#include "EventManager.hh" #include #include @@ -113,6 +114,7 @@ WinClient::~WinClient() { if (m_win != 0) m_win->removeClient(*this); + FbTk::EventManager::instance()->remove(window()); m_win = 0; } -- cgit v0.11.2