summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/extrawm.cpp5
-rw-r--r--src/extrawm.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/extrawm.cpp b/src/extrawm.cpp
index ad81e99..694fc16 100644
--- a/src/extrawm.cpp
+++ b/src/extrawm.cpp
@@ -281,6 +281,11 @@ ExtraWMWindow::ExtraWMWindow (CompWindow *window) :
WindowInterface::setHandler (window);
}
+ExtraWMWindow::~ExtraWMWindow ()
+{
+ ExtraWMScreen::get (screen)->removeAttentionWindow (window);
+}
+
bool
ExtraWMPluginVTable::init ()
{
diff --git a/src/extrawm.h b/src/extrawm.h
index 6b4688e..fa02ddd 100644
--- a/src/extrawm.h
+++ b/src/extrawm.h
@@ -93,6 +93,7 @@ class ExtraWMWindow :
public:
ExtraWMWindow (CompWindow *);
+ ~ExtraWMWindow ();
CompWindow *window;