summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fluxbox.cc6
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);