This commit is contained in:
Konstantin Pospelov 2026-01-19 00:03:16 -05:00 committed by GitHub
commit d69fff4808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 38 additions and 1 deletions

View file

@ -8,6 +8,7 @@
#include "sway/input/seat.h"
#include "config.h"
#define SWAY_CONTINUOUS_SCROLL_TIMEOUT 1000
#define SWAY_CURSOR_PRESSED_BUTTONS_CAP 32
#define SWAY_SCROLL_UP KEY_MAX + 1

View file

@ -80,9 +80,15 @@ struct sway_drag {
struct wl_listener destroy;
};
struct sway_scroll_axis {
double value;
uint32_t time_msec;
};
struct sway_seat {
struct wlr_seat *wlr_seat;
struct sway_cursor *cursor;
struct sway_scroll_axis axis[2];
// Seat scene tree structure
// - scene_tree