mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-20 06:59:42 -05:00
FIx crash on touch down
This commit is contained in:
parent
6eb72a1ae5
commit
937362b552
1 changed files with 3 additions and 1 deletions
|
|
@ -684,7 +684,9 @@ struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop,
|
||||||
wlr_output_layout_output_at(desktop->layout, lx, ly);
|
wlr_output_layout_output_at(desktop->layout, lx, ly);
|
||||||
struct roots_output *roots_output = NULL;
|
struct roots_output *roots_output = NULL;
|
||||||
double ox = lx, oy = ly;
|
double ox = lx, oy = ly;
|
||||||
|
if (view) {
|
||||||
*view = NULL;
|
*view = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (wlr_output) {
|
if (wlr_output) {
|
||||||
roots_output = wlr_output->data;
|
roots_output = wlr_output->data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue