4892a87dfe
I suppose this was also the goal of commit 96e14dc, but because it was checking the value of the always-undefined this.sourceActor, it really never worked as expected. So, now since we assume that this._sourceActor is always defined just use it as reference to compute the monitor menu position. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1029 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/435