mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01: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);
|
||||
struct roots_output *roots_output = NULL;
|
||||
double ox = lx, oy = ly;
|
||||
*view = NULL;
|
||||
if (view) {
|
||||
*view = NULL;
|
||||
}
|
||||
|
||||
if (wlr_output) {
|
||||
roots_output = wlr_output->data;
|
||||
|
|
Loading…
Reference in a new issue