minor cleaning
This commit is contained in:
parent
10d70ecd54
commit
3d80ba0c1a
1 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Window.cc,v 1.200 2003/06/30 15:02:39 fluxgen Exp $
|
// $Id: Window.cc,v 1.201 2003/07/02 05:27:40 fluxgen Exp $
|
||||||
|
|
||||||
#include "Window.hh"
|
#include "Window.hh"
|
||||||
|
|
||||||
|
@ -1065,9 +1065,9 @@ bool FluxboxWindow::setInputFocus() {
|
||||||
return (*it)->fbwindow()->setCurrentClient(**it, true);
|
return (*it)->fbwindow()->setCurrentClient(**it, true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || m_client->getFocusMode() == WinClient::F_PASSIVE) {
|
if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE ||
|
||||||
XSetInputFocus(display, m_client->window(),
|
m_client->getFocusMode() == WinClient::F_PASSIVE) {
|
||||||
RevertToPointerRoot, CurrentTime);
|
m_client->setInputFocus(RevertToPointerRoot, CurrentTime);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue