fix: grab button events on unfocus and ungrab on focus for proper click handling

This commit is contained in:
2026-01-08 22:24:45 +00:00
parent ab36b7dd2c
commit 91cfecb6e5
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ void decorations_button_press(Client *client, ButtonType button)
case BUTTON_MAXIMIZE:
LOG_DEBUG("Maximize button pressed for %s", client->title);
client_toggle_fullscreen(client);
client_toggle_maximize(client);
break;
case BUTTON_MINIMIZE: