From 3675a7be42f9547c5c5a18d6e0c2f636bbd8b023 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 2 Jun 2002 22:43:20 +0000 Subject: slit client bug fixed --- src/Window.cc | 6 ++++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.55 2002/05/30 00:46:22 fluxgen Exp $ +// $Id: Window.cc,v 1.56 2002/06/02 22:43:20 fluxgen Exp $ #include "Window.hh" @@ -433,7 +433,9 @@ FluxboxWindow::~FluxboxWindow() { frame.window = 0; } - if (client.window) { + // Make sure we don't remove + // a slit client from the list + if (managed) { fluxbox->removeWindowSearch(client.window); screen->removeNetizen(client.window); } -- cgit v0.11.2