diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-22 05:24:13 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-22 05:24:13 (GMT) |
commit | 0a67bdce416cb18a9c2f356262b62e1fad8dd52f (patch) | |
tree | 17eb66f2bf3c4b5e920e1045aa75a83b7f058e02 /src/Ewmh.cc | |
parent | 0906477984edbd9f6e62fed3800ea9a441919a58 (diff) | |
download | fluxbox_pavel-0a67bdce416cb18a9c2f356262b62e1fad8dd52f.zip fluxbox_pavel-0a67bdce416cb18a9c2f356262b62e1fad8dd52f.tar.bz2 |
make better decisions about when to allow stealing the focus
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 2 |
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 | } |