Revision 8452e6c...

Go back to digest for 9th September 2012

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.9] /tabbox:

Ensure that the start Client to build up the ClientModel is in the Focus Chain

If the start Client is not part of the focus chain the call to
nextClientFocusChain() cannot return the Client again. So the loop break
condition is never reached and as the focus chain is not empty the call
always returns a not null Client which means KWin is caught in an endless
loop.

This change checks that the starting Client is in the focus chain and if
not the first Client of the focus chain is used.



FIXED-IN: 4.9.2

File Changes

Modified 8 files
  • /tabbox
  •   kwin/clientmodel.cpp
  •   kwin.cpp
  •   kwin.h
  •   kwinhandler.h
  •   kwin/tests/mock_tabboxhandler.cpp
  •   kwin/tests/mock_tabboxhandler.h
  •   kwin/tests/test_tabbox_clientmodel.cpp
  •   kwin/tests/test_tabbox_clientmodel.h
8 files changed in total