4230a0d331
So far the effects could just use the connection() and rootWindow() provided by kwinglobals. Thus an internal detail from KWin core is accessed directly. To be more consistent with the rest of the API it's wrapped through the EffectsHandler and with a convenient method in Effect. The connection() is provided as xcbConnection() to free the very generic name connection which could create confusion once we provide a wayland connection to the Effects. The rootWindow() is provided as x11RootWindow() to indicate that it is for the X11 world. REVIEW: 117597 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
fakeeffectplugin.cpp | ||
fakeeffectplugin.json | ||
fakeeffectplugin_version.cpp | ||
fakeeffectplugin_version.json | ||
mock_effectshandler.cpp | ||
mock_effectshandler.h | ||
test_builtin_effectloader.cpp | ||
test_client_machine.cpp | ||
test_plugin_effectloader.cpp | ||
test_screen_paint_data.cpp | ||
test_scripted_effectloader.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
testutils.h |