just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.
Dana Jansens danakj@orodu.net
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
src/client.cc
→
src/client.cc
@@ -1717,8 +1717,6 @@ // won't try focus if the client doesn't want it, or if the window isn't
// visible on the screen if (!(frame->visible() && (_can_focus || _focus_notify))) return false; - if (_focused) return true; - // do a check to see if the window has already been unmapped or destroyed // do this intelligently while watching out for unmaps we've generated // (ignore_unmaps > 0)@@ -1762,8 +1760,6 @@
void Client::unfocus() const { - if (!_focused) return; - assert(openbox->focusedClient() == this); openbox->setFocusedClient(0); }