aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-02 05:27:40 (GMT)
committerfluxgen <fluxgen>2003-07-02 05:27:40 (GMT)
commit3d80ba0c1aed3bb5fffc6d59d70a63931d0a365d (patch)
treee6977844b217e930363f18d70712c195e745662c
parent10d70ecd54fc678499786ab84279223c5bd776e3 (diff)
downloadfluxbox_pavel-3d80ba0c1aed3bb5fffc6d59d70a63931d0a365d.zip
fluxbox_pavel-3d80ba0c1aed3bb5fffc6d59d70a63931d0a365d.tar.bz2
minor cleaning
-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 }