mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
commit
9564c73c0d
11 changed files with 239 additions and 55 deletions
|
|
@ -109,9 +109,6 @@ static struct sway_container *container_at_coords(
|
|||
}
|
||||
|
||||
struct sway_container *c;
|
||||
if ((c = floating_container_at(lx, ly, surface, sx, sy))) {
|
||||
return c;
|
||||
}
|
||||
if ((c = container_at(ws, lx, ly, surface, sx, sy))) {
|
||||
return c;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -737,6 +737,13 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
}
|
||||
}
|
||||
|
||||
// Close any popups on the old focus
|
||||
if (last_focus && last_focus != container) {
|
||||
if (last_focus->type == C_VIEW) {
|
||||
view_close_popups(last_focus->sway_view);
|
||||
}
|
||||
}
|
||||
|
||||
if (last_focus) {
|
||||
if (last_workspace) {
|
||||
if (notify && last_workspace != new_workspace) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue