diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index a1be00e..ca6ab99 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.204 2003/07/17 17:56:28 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.205 2003/07/19 11:55:49 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -698,7 +698,8 @@ bool FluxboxWindow::detachClient(WinClient &client) { | |||
698 | 698 | ||
699 | removeClient(client); | 699 | removeClient(client); |
700 | 700 | ||
701 | client.m_win = screen().createWindow(client); | 701 | // m_client must be valid as there should be at least one other window |
702 | // otherwise this wouldn't be here (refer numClients() <= 1 return) | ||
702 | m_client->raise(); | 703 | m_client->raise(); |
703 | setInputFocus(); | 704 | setInputFocus(); |
704 | return true; | 705 | return true; |