graesslin created this revision. graesslin added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel.
REVISION SUMMARY In a SubSurface tree a Surface is only considered mapped if the Surface has a buffer applied and the parent Surface is mapped. The added method implements this check. It's useful for the compositor to easily check this condition as it allows to easily figure out whether a SubSurface needs to be rendered and it's also useful for implementing the input handling as a not mapped sub-surface should not get any input events. REPOSITORY rKWAYLAND KWayland BRANCH surface-interface-is-mapped REVISION DETAIL https://phabricator.kde.org/D1247 AFFECTED FILES autotests/client/test_wayland_subsurface.cpp autotests/client/test_wayland_surface.cpp src/server/surface_interface.cpp src/server/surface_interface.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, Plasma Cc: plasma-devel
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel