RevertToParent instead of RevertToPointerRoot on window close,
as sometimes keys would go to the window under the mouse before a new window was focused
This commit is contained in:
parent
4c72b13a88
commit
2c4e1f9a02
1 changed files with 2 additions and 3 deletions
|
@ -1355,10 +1355,9 @@ bool FluxboxWindow::focus() {
|
||||||
|
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
||||||
if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE ||
|
if (m_client->acceptsFocus()) {
|
||||||
m_client->getFocusMode() == WinClient::F_PASSIVE) {
|
|
||||||
|
|
||||||
m_client->setInputFocus(RevertToPointerRoot, CurrentTime);
|
m_client->setInputFocus(RevertToParent, CurrentTime);
|
||||||
|
|
||||||
FbTk::App *app = FbTk::App::instance();
|
FbTk::App *app = FbTk::App::instance();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue