mirror of
https://github.com/wizbright/waybox.git
synced 2026-02-09 10:07:01 -05:00
Ability to minimize; Iconify action
This commit is contained in:
parent
6aa39a5ce0
commit
0769addabd
9 changed files with 100 additions and 40 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue