mirror of
https://github.com/labwc/labwc.git
synced 2025-11-08 13:30:00 -05:00
view: make move_sub_views() use append_children method
...to share common code with minimize_sub_views() Also, fix a bug in the move-to-back functions to move the window hierarchy in the right order. Helped-by: @Consolatis
This commit is contained in:
parent
e991eae103
commit
2c14a5a406
4 changed files with 35 additions and 91 deletions
|
|
@ -7,10 +7,17 @@
|
|||
* Please note: only xdg-shell-toplevel-view and xwayland-view view_impl
|
||||
* functions should call these functions.
|
||||
*/
|
||||
|
||||
enum z_direction {
|
||||
LAB_TO_FRONT,
|
||||
LAB_TO_BACK,
|
||||
};
|
||||
|
||||
struct view;
|
||||
|
||||
void view_impl_move_to_front(struct view *view);
|
||||
void view_impl_move_to_back(struct view *view);
|
||||
void view_impl_move_sub_views(struct view *parent, enum z_direction z_direction);
|
||||
void view_impl_map(struct view *view);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue