mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
overview: Always return a value in _onDragMotion()
Drag monitor functions are supposed to return a value, but _onDragMotion() does not always do so. Add the missing return value and remove unnecessary else.
This commit is contained in:
parent
bdeb20f7c9
commit
df3560143d
1 changed files with 3 additions and 3 deletions
|
|
@ -207,9 +207,9 @@ Overview.prototype = {
|
|||
|
||||
if (targetIsWindow &&
|
||||
dragEvent.targetActor._delegate.metaWindow == this._lastHoveredWindow)
|
||||
return;
|
||||
else
|
||||
this._lastHoveredWindow = null;
|
||||
return DND.DragMotionResult.CONTINUE;
|
||||
|
||||
this._lastHoveredWindow = null;
|
||||
|
||||
if (this._windowSwitchTimeoutId != 0) {
|
||||
Mainloop.source_remove(this._windowSwitchTimeoutId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue