06c6ecc15b
This attribute was previously only assigned in show(). hide() compares this attribute to 0. If hide() is called before show() is first called, the comparison would give the correct result (undefined > 0 is false) but log a warning: JS WARNING: [resource:///org/gnome/shell/ui/workspacesView.js 529]: reference to undefined property "_restackedNotifyId" Initialize this attribute in _init(), alongside _scrollEventId and _keyPressEventId which are also used in hide(). (cherry picked from commit b2fabd935637126e7a8d00b11f918776e742280a)