shell: Change stacking order calculation for popup surfaces
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 25 Nov 2013 18:01:46 +0000 (18:01 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 2 Dec 2013 19:44:51 +0000 (11:44 -0800)
commitda704d97faef87520c5b055e4b5c8d1f6c8fc1be
treeacc078e139d3bed5aab070c8eab70a0ddccb671b
parent2c3849be91338b0f4d27d264b6a122078f0ffb63
shell: Change stacking order calculation for popup surfaces

Always put them as the top-most layer in the layer list of their parent.
This ensures that, for example, the popup menu produced by
right-clicking on a surface (which is not currently at the top of the
stacking order in the current workspace) is displayed at the top of the
stacking order.
src/shell.c