summaryrefslogtreecommitdiff
path: root/src/extrawm.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-11-20 11:37:23 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-11-20 11:37:23 +0800
commitbdcf06e31bef6eb3b8bb6c4fcdabcbd92fef7980 (patch)
tree26473c104d21e20a2c99c50f872bcaf77b8dfd17 /src/extrawm.cpp
parentc4092f1170c82727b52e7ea95447a0c90b02fe5d (diff)
downloadextrawm-bdcf06e31bef6eb3b8bb6c4fcdabcbd92fef7980.tar.gz
extrawm-bdcf06e31bef6eb3b8bb6c4fcdabcbd92fef7980.tar.bz2
Remove demanding attention windows from the list if they are destroyed
Diffstat (limited to 'src/extrawm.cpp')
-rw-r--r--src/extrawm.cpp5
1 files changed, 5 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 ()
{