aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-05-13 11:14:05 (GMT)
committerrathnor <rathnor>2003-05-13 11:14:05 (GMT)
commite7903086f27a6112cf7579290dc4888631dc604c (patch)
tree952a24623bbe195dd859114585b43428171f2d1c /src/Screen.cc
parent3b1306336343ccf7b0faa065ba4c5842561b1caf (diff)
downloadfluxbox_pavel-e7903086f27a6112cf7579290dc4888631dc604c.zip
fluxbox_pavel-e7903086f27a6112cf7579290dc4888631dc604c.tar.bz2
fix iconify with autoraise
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index e579136..88c764d 100644
--- a/src/Screen.cc
+++ b/src/Screen.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: Screen.cc,v 1.160 2003/05/13 00:23:05 fluxgen Exp $ 25// $Id: Screen.cc,v 1.161 2003/05/13 11:14:04 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -2491,6 +2491,7 @@ WinClient *BScreen::getLastFocusedWindow(int workspace) {
2491 for (; it != it_end; ++it) 2491 for (; it != it_end; ++it)
2492 if ((*it)->fbwindow() && 2492 if ((*it)->fbwindow() &&
2493 (((int)(*it)->fbwindow()->getWorkspaceNumber()) == workspace 2493 (((int)(*it)->fbwindow()->getWorkspaceNumber()) == workspace
2494 && !(*it)->fbwindow()->isIconic()
2494 && (!(*it)->fbwindow()->isStuck() || (*it)->fbwindow()->isFocused()))) 2495 && (!(*it)->fbwindow()->isStuck() || (*it)->fbwindow()->isFocused())))
2495 // only give focus to a stuck window if it is currently focused 2496 // only give focus to a stuck window if it is currently focused
2496 // otherwise they tend to override normal workspace focus 2497 // otherwise they tend to override normal workspace focus