Commit da704d97faef87520c5b055e4b5c8d1f6c8fc1be fixed a bug where if you had two windows opened, A and B, with A partially behind B, and you right-clicked on A, the context menu would appear on top of A but behind B. That commit introduced a regression (see bug #72547) so it was reverted. I'm opening this so we don't forget about the original issue.
We have two options here: - do what da704d did, i.e. raise the pop-up to the top of the layer, but fixing the regression, - or we could activate A upon receiving the right click so that it goes in front of B. This is what at least gnome-shell does.
commit f0ce581b923a4b6fd0346b09092bcaa17ba5a840 Author: Kristian Høgsberg <krh@bitplanet.net> Date: Mon Apr 7 11:52:17 2014 -0700 desktop-shell: Activate surface on right click too This raises the surface to the top on right click as well, which fixes pop stacking. https://bugs.freedesktop.org/show_bug.cgi?id=74831
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.