Skip to content
  • Martin Flöser's avatar
    [server] Add a convenient method to check whether a Surface is mapped · e4fa3d53
    Martin Flöser authored
    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.
    
    Reviewers: #plasma
    
    Subscribers: plasma-devel
    
    Projects: #plasma
    
    Differential Revision: https://phabricator.kde.org/D1247
    e4fa3d53