添加布局算法并在新建窗口时应用规则
This commit is contained in:
@@ -125,7 +125,7 @@ void draw_bar(monitor_t *monitor, bool is_current_monitor,
|
||||
|
||||
/* 绘制 tags */
|
||||
for (int i = 0; i < g_strv_length(monitor->tags); i++) {
|
||||
bool selected = (monitor->selected_tag >> i) & 0x1;
|
||||
bool selected = (monitor->selected_tags >> i) & 0x1;
|
||||
text = monitor->tags[i];
|
||||
width = get_text_width(text) + tag_x_padding * 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user