optimize:remove useless workspace animation

This commit is contained in:
DreamMaoMao
2025-02-04 21:44:32 +08:00
parent 2301f871a1
commit 047295e9ce
3 changed files with 31 additions and 19 deletions

View File

@@ -162,7 +162,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
#define MODKEY WLR_MODIFIER_ALT
#define TAGKEYS(KEY,SKEY,TAG) \
{ WLR_MODIFIER_CTRL, KEY, view, {.ui = 1 << TAG} }, \
{ WLR_MODIFIER_CTRL, KEY, bind_to_view, {.ui = 1 << TAG} }, \
{ MODKEY|WLR_MODIFIER_CTRL, KEY, toggleview, {.ui = 1 << TAG} }, \
{ WLR_MODIFIER_ALT, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} }
@@ -253,4 +253,4 @@ static const Button buttons[] = {
static const Axis axes[] = {
{ WLR_MODIFIER_LOGO, AxisUp, viewtoleft_have_client, {0} }, // Middle button + super to switch workspace forward
{ WLR_MODIFIER_LOGO, AxisDown, viewtoright_have_client, {0} }, // Middle button + super to switch workspace backward
};
};