mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
Support smooth scroll and horizontal scroll
note that this changes Scroll mousebinds from taking a "button" attribute to taking a "direction" attribute
This commit is contained in:
parent
6164ba73ff
commit
2b753a98b8
7 changed files with 119 additions and 20 deletions
|
|
@ -107,6 +107,9 @@ struct seat {
|
|||
enum lab_cursors server_cursor;
|
||||
struct wlr_cursor *cursor;
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
struct {
|
||||
double x, y;
|
||||
} smooth_scroll_offset;
|
||||
|
||||
struct wlr_pointer_constraint_v1 *current_constraint;
|
||||
struct wlr_idle *wlr_idle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue