This commit is contained in:
Scott Leggett 2026-06-03 09:30:26 -04:00 committed by GitHub
commit cc92fb19f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -370,7 +370,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
} }
// Handle clicking an empty workspace // Handle clicking an empty workspace
if (node && node->type == N_WORKSPACE) { if (node && node->type == N_WORKSPACE && surface == NULL) {
if (state == WL_POINTER_BUTTON_STATE_PRESSED) { if (state == WL_POINTER_BUTTON_STATE_PRESSED) {
seat_set_focus(seat, node); seat_set_focus(seat, node);
transaction_commit_dirty(); transaction_commit_dirty();