]> git.mdlowis.com Git - proto/labwc.git/commit
view: commonize sub-view logic in view_move_to_front/back()
authorJohn Lindgren <john@jlindgren.net>
Sat, 21 Oct 2023 01:34:29 +0000 (21:34 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 21 Oct 2023 14:40:56 +0000 (15:40 +0100)
commit47e80a488e6db7bcf2ed1275c969774f76711ec2
tree5e2354cd6e03110e6de18b28a30642f3e3ad4513
parent048d22d473dc28aad9236317dbd37ae26fde7845
view: commonize sub-view logic in view_move_to_front/back()

The logic was the same for xdg-shell and xwayland views, so move it from
the view->impl layer out to the view_move_to_front/back() functions.

view->impl->move_to_front/back() still exist for now, in case we want to
add xdg/xwayland-specific logic in future, but they now move only one
view and not sub-views.
include/view-impl-common.h
src/view-impl-common.c
src/view.c
src/xdg.c
src/xwayland.c