kwin/tabbox
Martin Gräßlin 12a4923959 [kwin] Use std::find_if and lambda functions for Workspace::findUnmanaged
Instead of passing the macro based Predicate to findUnmanaged it now
expects a function which can be passed to std::find_if.

Existing code like:
xcb_window_t window; // our test window
Unmanaged *u = findUnmanaged(WindowMatchPredicated(window));

becomes:
Unmanaged *u = findUnmanaged([window](const Unmanaged *u) {
    return u->window() == window;
});

In addition an overload is added which takes the window id to cover
the common case to search for an Unmanaged by its ID. The above example
becomes:
Unmanaged *u = findUnmanaged(window);

The advantage is that it is way more flexible and has the logic what
to check for directly with the code and not hidden in the macro
definition.
2014-03-25 15:17:10 +01:00
..
autotests [kwin] Port autotests away from kde4_add_unit_test 2014-03-18 11:49:53 +01:00
qml SVN_SILENT made messages (.desktop file) 2014-03-24 04:35:26 +00:00
clientmodel.cpp
clientmodel.h
CMakeLists.txt
desktopchain.cpp
desktopchain.h
desktopmodel.cpp
desktopmodel.h
kwindesktopswitcher.desktop
kwinwindowswitcher.desktop
switcheritem.cpp
switcheritem.h
tabbox.cpp [kwin] Use std::find_if and lambda functions for Workspace::findUnmanaged 2014-03-25 15:17:10 +01:00
tabbox.h Properly support key events in TabBox over InputRedirection 2014-03-19 14:14:56 +01:00
tabboxconfig.cpp
tabboxconfig.h
tabboxhandler.cpp [kwin] Use QQmlEngine from Scripting in TabBox 2014-03-10 09:09:01 +01:00
tabboxhandler.h