mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
view: save last placement info before layout change
I will add output name and relative view position in `view->last_placement` later, which needs to be saved before layout changes unlike the global position.
This commit is contained in:
parent
8106b6dcfb
commit
a84850386d
3 changed files with 45 additions and 20 deletions
|
|
@ -538,6 +538,7 @@ bool view_titlebar_visible(struct view *view);
|
|||
void view_set_ssd_mode(struct view *view, enum lab_ssd_mode mode);
|
||||
void view_set_decorations(struct view *view, enum lab_ssd_mode mode, bool force_ssd);
|
||||
void view_toggle_fullscreen(struct view *view);
|
||||
void views_save_last_placement(struct server *server);
|
||||
void view_adjust_for_layout_change(struct view *view);
|
||||
void view_move_to_edge(struct view *view, enum lab_edge direction, bool snap_to_windows);
|
||||
void view_grow_to_edge(struct view *view, enum lab_edge direction);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue