zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision.
REVISION SUMMARY The new API provides a platform-independent way for setting drop-shadows on a window. X11 and Wayland details are completely hidden from the users of the new API, but you still need to be cautious about QPAs that destroy the underlying native resources(e.g. wl_surface) upon a window becoming hidden. It is highly recommended to install an event filter that reacts to events of type QEvent::PlatformSurface. REPOSITORY R278 KWindowSystem BRANCH kwindowshadow REVISION DETAIL https://phabricator.kde.org/D26457 AFFECTED FILES src/CMakeLists.txt src/kwindowshadow.cpp src/kwindowshadow.h src/kwindowshadow_dummy_p.h src/kwindowshadow_p.h src/kwindowsystemplugininterface.cpp src/kwindowsystemplugininterface_p.h src/platforms/xcb/CMakeLists.txt src/platforms/xcb/kwindowshadow.cpp src/platforms/xcb/kwindowshadow_p_x11.h src/platforms/xcb/plugin.cpp src/platforms/xcb/plugin.h src/pluginwrapper.cpp src/pluginwrapper_p.h To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns