just some extra safety
fluxgen fluxgen
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/WinClient.cc
→
src/WinClient.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 "fluxbox.hh"
#include "Screen.hh" #include "i18n.hh" #include "FbAtoms.hh" +#include "EventManager.hh" #include <iostream> #include <algorithm>@@ -113,6 +114,7 @@ fluxbox->removeWindowSearch(window());
if (m_win != 0) m_win->removeClient(*this); + FbTk::EventManager::instance()->remove(window()); m_win = 0; }