]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.cc
map and unmap work great now yay
[chaz/openbox] / src / openbox.cc
index 80622c1c426aee4bc80796c818994dea3b081ff7..72c603f29ef492194856ab5533f988c38a2fcafa 100644 (file)
@@ -260,6 +260,7 @@ void Openbox::addClient(Window window, OBClient *client)
 
 void Openbox::removeClient(Window window)
 {
+  _clients[window] = 0;
   ClientMap::iterator it = _clients.find(window);
   if (it != _clients.end())
     _clients.erase(it);
@@ -280,6 +281,5 @@ OBClient *Openbox::findClient(Window window)
     return (OBClient*) 0;
 }
 
-
 }
 
This page took 0.024178 seconds and 4 git commands to generate.