summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 3464112..7b14cb5 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.200 2003/06/30 15:02:39 fluxgen Exp $ 25// $Id: Window.cc,v 1.201 2003/07/02 05:27:40 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -1065,9 +1065,9 @@ bool FluxboxWindow::setInputFocus() {
1065 return (*it)->fbwindow()->setCurrentClient(**it, true); 1065 return (*it)->fbwindow()->setCurrentClient(**it, true);
1066 } 1066 }
1067 } else { 1067 } else {
1068 if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE || m_client->getFocusMode() == WinClient::F_PASSIVE) { 1068 if (m_client->getFocusMode() == WinClient::F_LOCALLYACTIVE ||
1069 XSetInputFocus(display, m_client->window(), 1069 m_client->getFocusMode() == WinClient::F_PASSIVE) {
1070 RevertToPointerRoot, CurrentTime); 1070 m_client->setInputFocus(RevertToPointerRoot, CurrentTime);
1071 } else { 1071 } else {
1072 return false; 1072 return false;
1073 } 1073 }