Move gesture handling out of cursor.c

This commit is contained in:
Consolatis 2023-09-03 18:56:20 +02:00 committed by Johan Malm
parent 67a8ae8561
commit 8d0812d45a
5 changed files with 109 additions and 70 deletions

10
include/input/gestures.h Normal file
View file

@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_GESTURES_H
#define LABWC_GESTURES_H
struct seat;
void gestures_init(struct seat *seat);
void gestures_finish(struct seat *seat);
#endif /* LABWC_GESTURES_H */

View file

@ -30,7 +30,6 @@
#include <wlr/types/wlr_relative_pointer_v1.h>
#include <wlr/types/wlr_pointer.h>
#include <wlr/types/wlr_pointer_constraints_v1.h>
#include <wlr/types/wlr_pointer_gestures_v1.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_xcursor_manager.h>