Skip to content
  • Martin Flöser's avatar
    Add support for resize only borders on Wayland · fb59b054
    Martin Flöser authored
    Summary:
    This change adds support for resizing outside the window decoration
    (e.g. setting borders to NoSide or None).
    
    To support this a new Toplevel::inputGeometry() -> QRect method is
    added which exposes the geometry adjusted by the margins provided by
    the decoration. This is checked in InputRedirection when finding a
    Toplevel at a given position. The logic for figuring out whether the
    event should go to the decoration or the window already handled the
    situation correctly, so no further changes are needed.
    
    BUG: 364607
    FIXED-IN: 5.8.1
    
    Reviewers: #kwin, #plasma_on_wayland
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma_on_wayland, #kwin
    
    Differential Revision: https://phabricator.kde.org/D2787
    fb59b054