diff options
author | fluxgen <fluxgen> | 2004-01-16 11:29:12 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-16 11:29:12 (GMT) |
commit | 40cfbb75683970bb95b4140db37eaa98a52b93a5 (patch) | |
tree | f8dcf6b1b7f9ae9013fe5dcad4ea77b729fd2918 /src/fluxbox.cc | |
parent | c31e60a9c15493188b37000c877050ca1eadc02c (diff) | |
download | fluxbox-40cfbb75683970bb95b4140db37eaa98a52b93a5.zip fluxbox-40cfbb75683970bb95b4140db37eaa98a52b93a5.tar.bz2 |
minor fix
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index c67f51b..9bba564 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.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: fluxbox.cc,v 1.222 2004/01/16 11:28:00 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.223 2004/01/16 11:29:12 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -765,8 +765,10 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
765 | ScreenList::iterator it_end = m_screen_list.end(); | 765 | ScreenList::iterator it_end = m_screen_list.end(); |
766 | for (; it != it_end; ++it) { | 766 | for (; it != it_end; ++it) { |
767 | if ( (*it)->screenNumber() == | 767 | if ( (*it)->screenNumber() == |
768 | FbTk::Menu::focused()->fbwindow().screenNumber()) | 768 | FbTk::Menu::focused()->fbwindow().screenNumber()) { |
769 | screen = (*it); | 769 | screen = (*it); |
770 | break; // found the screen, no more search | ||
771 | } | ||
770 | } | 772 | } |
771 | if (screen != 0) | 773 | if (screen != 0) |
772 | revertFocus(*screen); | 774 | revertFocus(*screen); |