Ability to minimize; Iconify action

This commit is contained in:
Keith Bowes 2022-02-24 11:00:25 -05:00
parent 6aa39a5ce0
commit 0769addabd
9 changed files with 100 additions and 40 deletions

View file

@ -31,18 +31,21 @@ struct wb_view {
#endif
struct wlr_xdg_toplevel_decoration_v1 *decoration;
int decoration_height;
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener destroy;
struct wl_listener new_popup;
struct wl_listener request_maximize;
struct wl_listener request_minimize;
struct wl_listener request_move;
struct wl_listener request_resize;
struct wl_listener surface_commit;
bool mapped;
int x, y;
struct wlr_box origdim;
int width, height, x, y;
struct wlr_box previous_position;
};
void output_frame_notify(struct wl_listener* listener, void *data);