mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
appDisplay: Return false in acceptDrop when not accepting the drop
Fix what is probably a copy-paste error and return false instead of a CONTINUE DragMotionResult which is only meant for dragMotion events, not drop events. This makes sure we don't create a folder when dropping an app over the drag leeways of another icon. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1389
This commit is contained in:
parent
d0dab5a6d1
commit
b83c93ad62
1 changed files with 1 additions and 1 deletions
|
|
@ -1541,7 +1541,7 @@ class AppViewItem extends St.Button {
|
|||
return false;
|
||||
|
||||
if (this._withinLeeways(x))
|
||||
return DND.DragMotionResult.CONTINUE;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue