feat: carousel-like behaviour when swapping tags

This commit is contained in:
ernestoCruz05 2026-05-15 13:48:46 +01:00 committed by DreamMaoMao
parent 4be9e80355
commit 78f7ed6825
4 changed files with 57 additions and 19 deletions

View file

@ -545,6 +545,7 @@ struct Monitor {
char last_surface_ws_name[256];
struct wlr_ext_workspace_group_handle_v1 *ext_group;
bool iscleanuping;
int8_t carousel_anim_dir;
};
typedef struct {
@ -3215,6 +3216,7 @@ void createmon(struct wl_listener *listener, void *data) {
m->skiping_frame = false;
m->resizing_count_pending = 0;
m->resizing_count_current = 0;
m->carousel_anim_dir = 0;
m->wlr_output = wlr_output;
m->wlr_output->data = m;