显示窗口函数添加是否显示子窗口选项

This commit is contained in:
2025-08-26 01:47:27 +08:00
parent f225dc7011
commit 850b63bf82
3 changed files with 5 additions and 5 deletions

View File

@@ -722,7 +722,7 @@ void manage_window(xcb_window_t window) {
}
c->monitor->selected_client = c;
arrange(c->monitor);
map_window(window);
map_window(window, false);
focus(NULL);
}
@@ -946,7 +946,7 @@ void show_hide_client(client_t *client) {
if (CLIENT_VISIBLE(client)) {
if (client->fullscreen) {
set_client_fullscreen(client, true);
fullscreen_client(client);
} else if (client->maximize) {
maximize_client(client);
} else if (!client->monitor->layout->arrange || client->floating) {