Use the first client as entrance to the focus chain if no active window
The recently used mode of TabBox uses the active window as the entrance into the focus chain. If there is no active window it does not find any Clients. To solve this issue the ClientModel now uses the first entry of the focus chain in case there is no active window. BUG: 305449 FIXED-IN: 4.9.1 REVIEW: 106088
Showing
- kwin/tabbox/clientmodel.cpp 7 additions, 1 deletionkwin/tabbox/clientmodel.cpp
- kwin/tabbox/tabbox.cpp 17 additions, 0 deletionskwin/tabbox/tabbox.cpp
- kwin/tabbox/tabbox.h 2 additions, 0 deletionskwin/tabbox/tabbox.h
- kwin/tabbox/tabboxhandler.h 8 additions, 0 deletionskwin/tabbox/tabboxhandler.h
- kwin/tabbox/tests/mock_tabboxhandler.cpp 15 additions, 9 deletionskwin/tabbox/tests/mock_tabboxhandler.cpp
- kwin/tabbox/tests/mock_tabboxhandler.h 3 additions, 0 deletionskwin/tabbox/tests/mock_tabboxhandler.h
- kwin/tabbox/tests/test_tabbox_clientmodel.cpp 19 additions, 0 deletionskwin/tabbox/tests/test_tabbox_clientmodel.cpp
- kwin/tabbox/tests/test_tabbox_clientmodel.h 7 additions, 0 deletionskwin/tabbox/tests/test_tabbox_clientmodel.h
Loading
Please register or sign in to comment