summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WinClient.cc4
1 files changed, 3 insertions, 1 deletions
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: WinClient.cc,v 1.3 2003/04/15 12:12:29 fluxgen Exp $ 22// $Id: WinClient.cc,v 1.4 2003/04/25 11:21:17 fluxgen Exp $
23 23
24#include "WinClient.hh" 24#include "WinClient.hh"
25 25
@@ -28,6 +28,7 @@
28#include "Screen.hh" 28#include "Screen.hh"
29#include "i18n.hh" 29#include "i18n.hh"
30#include "FbAtoms.hh" 30#include "FbAtoms.hh"
31#include "EventManager.hh"
31 32
32#include <iostream> 33#include <iostream>
33#include <algorithm> 34#include <algorithm>
@@ -113,6 +114,7 @@ WinClient::~WinClient() {
113 114
114 if (m_win != 0) 115 if (m_win != 0)
115 m_win->removeClient(*this); 116 m_win->removeClient(*this);
117 FbTk::EventManager::instance()->remove(window());
116 m_win = 0; 118 m_win = 0;
117 119
118} 120}