aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-05-19 22:59:02 (GMT)
committermarkt <markt>2007-05-19 22:59:02 (GMT)
commit22944ec775b5c5de0f29d0ee05f4ed303235519c (patch)
tree22a42005339e71e055d73ee34b710e1d6db4d68a /src/Ewmh.cc
parenta33188b2a844832a0a3267f1ebf0883b3205614e (diff)
downloadfluxbox-22944ec775b5c5de0f29d0ee05f4ed303235519c.zip
fluxbox-22944ec775b5c5de0f29d0ee05f4ed303235519c.tar.bz2
added back limited behavior for session.screen0.followModel
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 019751f..b0269ec 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -782,7 +782,9 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce,
782 return true; 782 return true;
783 // ce.window = window to focus 783 // ce.window = window to focus
784 784
785 if (winclient->fbwindow()) { 785 // ce.data.l[0] == 2 means the request came from a pager
786 if (winclient->fbwindow() && (ce.data.l[0] == 2 ||
787 winclient->fbwindow()->allowsFocusFromClient())) {
786 winclient->focus(); 788 winclient->focus();
787 winclient->fbwindow()->raise(); 789 winclient->fbwindow()->raise();
788 } 790 }