smooth resize
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
struct absinthe_toplevel *absinthe_toplevel_at(struct absinthe_server *server, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy);
|
||||
|
||||
void absinthe_toplevel_update_borders_geometry(struct absinthe_toplevel *toplevel);
|
||||
void absinthe_toplevel_set_position(struct absinthe_toplevel *toplevel, int32_t x, int32_t y);
|
||||
void absinthe_toplevel_set_size(struct absinthe_toplevel *toplevel, int32_t width, int32_t height);
|
||||
void absinthe_toplevel_update_border_geometry(struct absinthe_toplevel *toplevel);
|
||||
void absinthe_toplevel_set_border_color(struct absinthe_toplevel *toplevel, const float color[4]);
|
||||
|
||||
@@ -99,6 +99,7 @@ struct absinthe_toplevel {
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct wlr_scene_tree *scene_surface;
|
||||
struct wlr_scene_rect *border[4];
|
||||
bool performing_resize;
|
||||
struct wlr_box geometry;
|
||||
struct wlr_xdg_toplevel *xdg_toplevel;
|
||||
struct wl_listener map;
|
||||
|
||||
Reference in New Issue
Block a user