aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-22 05:24:13 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-22 05:24:13 (GMT)
commit0a67bdce416cb18a9c2f356262b62e1fad8dd52f (patch)
tree17eb66f2bf3c4b5e920e1045aa75a83b7f058e02 /src/Ewmh.cc
parent0906477984edbd9f6e62fed3800ea9a441919a58 (diff)
downloadfluxbox-0a67bdce416cb18a9c2f356262b62e1fad8dd52f.zip
fluxbox-0a67bdce416cb18a9c2f356262b62e1fad8dd52f.tar.bz2
make better decisions about when to allow stealing the focus
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index ee98944..6f0d829 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -749,7 +749,7 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce,
749 749
750 // ce.data.l[0] == 2 means the request came from a pager 750 // ce.data.l[0] == 2 means the request came from a pager
751 if (winclient->fbwindow() && (ce.data.l[0] == 2 || 751 if (winclient->fbwindow() && (ce.data.l[0] == 2 ||
752 winclient->fbwindow()->allowsFocusFromClient())) { 752 winclient->fbwindow()->focusRequestFromClient(*winclient))) {
753 winclient->focus(); 753 winclient->focus();
754 winclient->fbwindow()->raise(); 754 winclient->fbwindow()->raise();
755 } 755 }