Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ endif
prefix = get_option('prefix')
sysconfdir = get_option('sysconfdir')

# 如果 sysconfdir prefix 开头,去掉 prefix
# If sysconfdir starts with prefix, strip the prefix
if sysconfdir.startswith(prefix) and not is_nixos
sysconfdir = sysconfdir.substring(prefix.length())
# 确保 sysconfdir 是绝对路径
# Ensure sysconfdir is an absolute path
if not sysconfdir.startswith('/')
sysconfdir = '/' + sysconfdir
endif
Expand Down
3 changes: 2 additions & 1 deletion src/dispatch/bind_define.h
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ void restore_minimized(const Arg *arg) {

show_hide_client(c);
setborder_color(c);
arrange(c->mon, false, false);
uint32_t target = get_tags_first_tag(c->tags);
view_in_mon(&(Arg){.ui = target}, true, c->mon, true);
focusclient(c, 1);
warp_cursor(c);
return;
Expand Down