mirror of
https://github.com/swaywm/sway.git
synced 2026-06-13 14:33:19 -04:00
Merge 32d24ef620 into 97c342f9e1
This commit is contained in:
commit
cc92fb19f9
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
|
|||
}
|
||||
|
||||
// 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) {
|
||||
seat_set_focus(seat, node);
|
||||
transaction_commit_dirty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue