aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index abbe6d5..39f82b6 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2478,9 +2478,16 @@ void FluxboxWindow::mapNotifyEvent(XMapEvent &ne) {
2478 2478
2479 setState(NormalState, false); 2479 setState(NormalState, false);
2480 2480
2481 if (client->isTransient() || screen().focusControl().focusNew()) 2481 if (client->isTransient())
2482 setCurrentClient(*client, true); 2482 setCurrentClient(*client, true);
2483 else 2483 else if (screen().focusControl().focusNew()) {
2484 FluxboxWindow *cur = FocusControl::focusedFbWindow();
2485 if (cur && cur->isFullscreen()) {
2486 setFocusFlag(false);
2487 Fluxbox::instance()->attentionHandler().addAttention(*client);
2488 } else
2489 setCurrentClient(*client, true);
2490 } else
2484 setFocusFlag(false); 2491 setFocusFlag(false);
2485 2492
2486 iconic = false; 2493 iconic = false;