mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
Address new_output == NULL in seat_set_focus_warp
This commit is contained in:
parent
d86afdc6ed
commit
437245b663
1 changed files with 2 additions and 1 deletions
|
|
@ -710,7 +710,8 @@ void seat_set_focus_warp(struct sway_seat *seat, struct sway_node *node,
|
||||||
workspace_consider_destroy(last_workspace);
|
workspace_consider_destroy(last_workspace);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config->mouse_warping && warp && new_output != last_output) {
|
if (config->mouse_warping && warp &&
|
||||||
|
new_output != last_output && new_output) {
|
||||||
double x = 0;
|
double x = 0;
|
||||||
double y = 0;
|
double y = 0;
|
||||||
if (container) {
|
if (container) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue