修复窗口默认 tag 错误 bug

This commit is contained in:
2025-08-23 23:03:05 +08:00
parent dfdc90e6c1
commit 505e2a5bcb
2 changed files with 6 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ const layout_t layouts[] = {
/* 默认 tags 规则 */
const rule_tag_t browser_tag[] = {
{.monitor_amount = 1, .tags = 1 << 1},
{.monitor_index = 0, .tags = 1 << 1},
{0},
};
const rule_tag_t mpv_tag[] = {
@@ -64,7 +64,7 @@ const rule_tag_t mpv_tag[] = {
};
const rule_tag_t emacs_tag[] = {
{.monitor_amount = 1, .monitor_index = 0, .tags = 1 << 2},
{.monitor_amount = 2, .monitor_index = 0, .tags = 1 << 1},
{.monitor_amount = 2, .monitor_index = 1, .tags = 1 << 1},
{0},
};
/* 新建窗口规则 */