Diffusion KWin 1ca2aec77fee

[wayland] Don't use hardcoded move-resize cursor

Authored by zzag on Dec 25 2018, 3:30 PM.

Description

[wayland] Don't use hardcoded move-resize cursor

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

Details

Committed
zzagDec 31 2018, 10:35 AM
Reviewer
KWin
Differential Revision
D3202: [wayland] Don't use hardcoded move-resize cursor
Parents
R108:792d8404551d: Honor struts when placing Wayland transients
Branches
Unknown
Tags
Unknown