mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
input: implement xdg_toplevel interactive resize hints
This commit is contained in:
parent
10ec97c073
commit
39d677af15
6 changed files with 90 additions and 0 deletions
|
|
@ -219,6 +219,8 @@ void container_floating_resize_and_center(struct sway_container *con);
|
|||
|
||||
void container_floating_set_default_size(struct sway_container *con);
|
||||
|
||||
void container_set_resizing(struct sway_container *con, bool resizing);
|
||||
|
||||
void container_set_floating(struct sway_container *container, bool enable);
|
||||
|
||||
void container_set_geometry_from_content(struct sway_container *con);
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ struct sway_view_impl {
|
|||
void (*set_activated)(struct sway_view *view, bool activated);
|
||||
void (*set_tiled)(struct sway_view *view, bool tiled);
|
||||
void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
|
||||
void (*set_resizing)(struct sway_view *view, bool resizing);
|
||||
bool (*wants_floating)(struct sway_view *view);
|
||||
void (*for_each_surface)(struct sway_view *view,
|
||||
wlr_surface_iterator_func_t iterator, void *user_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue