Revert "messageTray: Fix warning when opening the tray"
This reverts commit 7b06d34ba4
.
https://bugzilla.gnome.org/show_bug.cgi?id=694336
This commit is contained in:
parent
7b06d34ba4
commit
28a71a29e6
@ -1754,13 +1754,12 @@ const MessageTray = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_setupTrayDwellIfNeeded: function() {
|
_setupTrayDwellIfNeeded: function() {
|
||||||
this._trayDwellTimeoutId = 0;
|
|
||||||
|
|
||||||
// If we don't have extended barrier features, then we need
|
// If we don't have extended barrier features, then we need
|
||||||
// to support the old tray dwelling mechanism.
|
// to support the old tray dwelling mechanism.
|
||||||
if (!global.display.supports_extended_barriers()) {
|
if (!global.display.supports_extended_barriers()) {
|
||||||
let pointerWatcher = PointerWatcher.getPointerWatcher();
|
let pointerWatcher = PointerWatcher.getPointerWatcher();
|
||||||
pointerWatcher.addWatch(TRAY_DWELL_CHECK_INTERVAL, Lang.bind(this, this._checkTrayDwell));
|
pointerWatcher.addWatch(TRAY_DWELL_CHECK_INTERVAL, Lang.bind(this, this._checkTrayDwell));
|
||||||
|
this._trayDwellTimeoutId = 0;
|
||||||
this._trayDwelling = false;
|
this._trayDwelling = false;
|
||||||
this._trayDwellUserTime = 0;
|
this._trayDwellUserTime = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user