Make touch depend on cursor to prevent racing

This commit is contained in:
Consolatis 2023-09-03 19:07:55 +02:00 committed by Johan Malm
parent 8d0812d45a
commit 5e1562fae6
5 changed files with 18 additions and 14 deletions

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <wayland-util.h>
#include <wlr/types/wlr_touch.h>
#include "idle.h"
#include "labwc.h"
#include "common/mem.h"
#include "common/scene-helpers.h"
#include "idle.h"
#include "input/touch.h"
#include "labwc.h"
/* Holds layout -> surface offsets to report motion events in relative coords */
struct touch_point {