Add window resize indicator

This commit is contained in:
Consolatis 2023-08-17 18:59:29 +02:00
parent c8321e3264
commit 58b33fb0c9
12 changed files with 296 additions and 0 deletions

View file

@ -128,6 +128,13 @@ struct view {
struct wl_event_source *pending_configure_timeout;
struct ssd *ssd;
struct resize_indicator {
int width, height;
struct wlr_scene_tree *tree;
struct wlr_scene_rect *border;
struct wlr_scene_rect *background;
struct scaled_font_buffer *text;
} resize_indicator;
struct foreign_toplevel {
struct wlr_foreign_toplevel_handle_v1 *handle;