all repos — fluxbox @ 40cfbb75683970bb95b4140db37eaa98a52b93a5

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

40cfbb75683970bb95b4140db37eaa98a52b93a5

parent

c31e60a9c15493188b37000c877050ca1eadc02c

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.222 2004/01/16 11:28:00 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.223 2004/01/16 11:29:12 fluxgen Exp $ #include "fluxbox.hh"

@@ -765,8 +765,10 @@ ScreenList::iterator it = m_screen_list.begin();

ScreenList::iterator it_end = m_screen_list.end(); for (; it != it_end; ++it) { if ( (*it)->screenNumber() == - FbTk::Menu::focused()->fbwindow().screenNumber()) + FbTk::Menu::focused()->fbwindow().screenNumber()) { screen = (*it); + break; // found the screen, no more search + } } if (screen != 0) revertFocus(*screen);