]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: update stacking order in move_to_front/back()
authorJohn Lindgren <john@jlindgren.net>
Sat, 21 Oct 2023 05:29:19 +0000 (01:29 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 21 Oct 2023 20:42:24 +0000 (21:42 +0100)
commit0ddf3c43ad0f278ed375f39c9027513ba693ea98
tree1bef8e66e861aaec0d858417600c1a41433483d4
parent921c30c1fa5936a62f62df71df660beea8c985e5
xwayland: update stacking order in move_to_front/back()

Currently xwayland views are restacked on top of the XWayland server
stacking order when activated (i.e. focused). This is wrong because
focus/raise are independent concepts (though often occurring together).
The stacking order should be updated when the view is raised/lowered,
not when the view is focused.

Work is in progress elsewhere (draft PR) that will result in views more
often being raised without being focused. Without this fix, those views
don't get restacked properly, resulting in clicks "passing through" to
views underneath.
src/xwayland.c