]> git.mdlowis.com Git - proto/labwc.git/commit
view: add move_to_front to `struct view_impl`
authorJohan Malm <jgm323@gmail.com>
Sun, 5 Feb 2023 19:29:24 +0000 (19:29 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 24 Feb 2023 20:42:01 +0000 (20:42 +0000)
commitb8ec5a3e2eeed62c3ab3c456190564b6c699ab0a
tree76263ac7a0ca2198d784feedee4a563c6315752c
parent440372c2daf63e35e025b956479d63a40e108807
view: add move_to_front to `struct view_impl`

...to increase xwayland and xdg-shell encapsulation and to avoid passing a
function pointer as an argument in `xwayland_move_sub_views_to_front()`
which is inconsistent with labwc design patterns.

Rename view-impl.c to view-impl-common.c

Move function declarations that are common to view-implementations from
view.h into view-impl-common.h
include/labwc.h
include/view-impl-common.h [new file with mode: 0644]
include/view.h
include/xwayland.h
src/desktop.c
src/keyboard.c
src/meson.build
src/view-impl-common.c [moved from src/view-impl.c with 51% similarity]
src/xdg.c
src/xwayland.c