支持窗口全屏操作

This commit is contained in:
2026-01-29 07:46:06 +08:00
parent a772d0f56f
commit a5ce85be78
7 changed files with 71 additions and 1 deletions

View File

@@ -81,3 +81,9 @@ void toggle_client_floating(const user_action_arg_t *arg) {
client_set_floating(wm.client_focused, !wm.client_focused->floating);
}
void toggle_client_fullscreen(const user_action_arg_t *arg) {
if (!wm.client_focused) return;
client_set_fullscreen(wm.client_focused, !wm.client_focused->fullscreen);
}