diff options
author | rathnor <rathnor> | 2003-05-04 23:38:06 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-05-04 23:38:06 (GMT) |
commit | 2ac0d82e451abd3cdc92df2a02c0da4eb8638ba1 (patch) | |
tree | acb6c82d00dd1258773c45ef539f38b2f093e191 /src/Ewmh.cc | |
parent | 65bbfbe51b9d8531490708e83ba422c7dc53dc1a (diff) | |
download | fluxbox_pavel-2ac0d82e451abd3cdc92df2a02c0da4eb8638ba1.zip fluxbox_pavel-2ac0d82e451abd3cdc92df2a02c0da4eb8638ba1.tar.bz2 |
fix up focus problems
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 4fdede2..47a74c3 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Ewmh.cc,v 1.18 2003/04/25 11:14:11 fluxgen Exp $ | 22 | // $Id: Ewmh.cc,v 1.19 2003/05/04 23:38:06 rathnor Exp $ |
23 | 23 | ||
24 | #include "Ewmh.hh" | 24 | #include "Ewmh.hh" |
25 | 25 | ||
@@ -337,9 +337,7 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, F | |||
337 | return true; | 337 | return true; |
338 | // ce.window = window to focus | 338 | // ce.window = window to focus |
339 | 339 | ||
340 | // should move set focus somewhere else | 340 | win->setInputFocus(); |
341 | // so we don't need fluxbox depedencies here | ||
342 | Fluxbox::instance()->setFocusedWindow(win); | ||
343 | return true; | 341 | return true; |
344 | } else if (ce.message_type == m_net_close_window) { | 342 | } else if (ce.message_type == m_net_close_window) { |
345 | if (win == 0) | 343 | if (win == 0) |