支持窗口最大化操作

This commit is contained in:
2026-02-04 12:13:19 +08:00
parent 4b6df52b41
commit 0e07ba135b
5 changed files with 37 additions and 0 deletions

View File

@@ -87,3 +87,9 @@ void toggle_client_fullscreen(const user_action_arg_t *arg) {
client_set_fullscreen(wm.client_focused, !wm.client_focused->fullscreen);
}
void toggle_client_maximize(const user_action_arg_t *arg) {
if (!wm.client_focused) return;
client_set_maximize(wm.client_focused, !wm.client_focused->maximize);
}