Don't trigger screen edge if the pointer is constrained
If the pointer is constrained, the screen edge may push the cursor back, which will work not as expected. It's also undesired to trigger the screen edge while the pointer is constrained by some surface, in general.
This commit is contained in:
parent
6412fd2c34
commit
44b72823c2
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ void Edge::unreserve(QObject *object)
|
|||
|
||||
bool Edge::activatesForPointer() const
|
||||
{
|
||||
if (input()->pointer()->isConstrained()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isMovingWindow = false;
|
||||
|
||||
// Most actions do not handle drag and drop properly yet
|
||||
|
|
Loading…
Reference in a new issue