diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index f45c4a1..846da0e 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.55 2002/05/30 00:46:22 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.56 2002/06/02 22:43:20 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -433,7 +433,9 @@ FluxboxWindow::~FluxboxWindow() { | |||
433 | frame.window = 0; | 433 | frame.window = 0; |
434 | } | 434 | } |
435 | 435 | ||
436 | if (client.window) { | 436 | // Make sure we don't remove |
437 | // a slit client from the list | ||
438 | if (managed) { | ||
437 | fluxbox->removeWindowSearch(client.window); | 439 | fluxbox->removeWindowSearch(client.window); |
438 | screen->removeNetizen(client.window); | 440 | screen->removeNetizen(client.window); |
439 | } | 441 | } |