Merge pull request #932 from ernestoCruz05/carousel

feat: carousel-like behaviour when swapping tags
This commit is contained in:
DreamMaoMao 2026-05-24 11:08:02 +08:00 committed by GitHub
commit 2a83505593
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 57 additions and 19 deletions

View file

@ -556,6 +556,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 {
@ -3257,6 +3258,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;