diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 732e8a6..ef90d4e 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1892,12 +1892,11 @@ void Fluxbox::revertFocus(BScreen &screen) { | |||
1892 | next_focus->fbwindow()->setCurrentClient(*next_focus, true))) { | 1892 | next_focus->fbwindow()->setCurrentClient(*next_focus, true))) { |
1893 | setFocusedWindow(0); // so we don't get dangling m_focused_window pointer | 1893 | setFocusedWindow(0); // so we don't get dangling m_focused_window pointer |
1894 | switch (screen.getFocusModel()) { | 1894 | switch (screen.getFocusModel()) { |
1895 | case BScreen::SLOPPYFOCUS: | 1895 | case BScreen::MOUSEFOCUS: |
1896 | case BScreen::SEMISLOPPYFOCUS: | ||
1897 | XSetInputFocus(FbTk::App::instance()->display(), | 1896 | XSetInputFocus(FbTk::App::instance()->display(), |
1898 | PointerRoot, None, CurrentTime); | 1897 | PointerRoot, None, CurrentTime); |
1899 | break; | 1898 | break; |
1900 | case BScreen::CLICKTOFOCUS: | 1899 | case BScreen::CLICKFOCUS: |
1901 | screen.rootWindow().setInputFocus(RevertToPointerRoot, CurrentTime); | 1900 | screen.rootWindow().setInputFocus(RevertToPointerRoot, CurrentTime); |
1902 | break; | 1901 | break; |
1903 | } | 1902 | } |