slit client bug fixed

This commit is contained in:
fluxgen 2002-06-02 22:43:20 +00:00
parent 6f9f3a6be7
commit 3675a7be42

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // 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" #include "Window.hh"
@ -433,7 +433,9 @@ FluxboxWindow::~FluxboxWindow() {
frame.window = 0; frame.window = 0;
} }
if (client.window) { // Make sure we don't remove
// a slit client from the list
if (managed) {
fluxbox->removeWindowSearch(client.window); fluxbox->removeWindowSearch(client.window);
screen->removeNetizen(client.window); screen->removeNetizen(client.window);
} }