aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-09-08 20:06:58 (GMT)
committerfluxgen <fluxgen>2002-09-08 20:06:58 (GMT)
commitdd02663c7d613912c6f2de12ab38b3fe48acdbd5 (patch)
tree53aecf2fe9954ddb1de28db591b5e3e1546427d4
parent71b17984b779da66433d1050354435efb085ac6d (diff)
downloadfluxbox_paul-dd02663c7d613912c6f2de12ab38b3fe48acdbd5.zip
fluxbox_paul-dd02663c7d613912c6f2de12ab38b3fe48acdbd5.tar.bz2
focus fallback to transient_for
-rw-r--r--src/Window.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 838a0a2..1768509 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.80 2002/09/08 19:51:30 fluxgen Exp $ 25// $Id: Window.cc,v 1.81 2002/09/08 20:06:58 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -371,6 +371,7 @@ FluxboxWindow::~FluxboxWindow() {
371 371
372 372
373 if (client.transient_for != 0) { 373 if (client.transient_for != 0) {
374 fluxbox->setFocusedWindow(client.transient_for);
374 client.transient_for->client.transients.remove(this); 375 client.transient_for->client.transients.remove(this);
375 client.transient_for = 0; 376 client.transient_for = 0;
376 } 377 }