Skip to content
  • Vlad Zahorodnii's avatar
    [wayland] Don't use hardcoded move-resize cursor · 1ca2aec7
    Vlad Zahorodnii authored
    Summary:
    Currently, when resizing a window the cursor doesn't match the resize
    direction. The reason for that is the move-resize cursor is hardcoded.
    
    To fix that, CursorImage::updateMoveResize has to use AbstractClient::cursor.
    Also, because the move-resize cursor is updated after calling startMoveResize,
    we have to connect to AbstractClient::moveResizeCursorChanged.
    
    BUG: 370339
    FIXED-IN: 5.15
    
    Reviewers: #kwin, davidedmundson, broulik, romangg, graesslin
    
    Reviewed By: #kwin, graesslin
    
    Subscribers: davidedmundson, romangg, graesslin, kwin
    
    Tags: #kwin
    
    Maniphest Tasks: T5714
    
    Differential Revision: https://phabricator.kde.org/D3202
    1ca2aec7