mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-04 07:15:55 -04:00
opt: update cursor and idle state on tablet motion
This commit is contained in:
parent
abdfc56a2f
commit
a936af71d0
1 changed files with 3 additions and 0 deletions
|
|
@ -157,6 +157,9 @@ void tablettoolmotion(struct wlr_tablet_v2_tablet_tool *tool, bool change_x,
|
||||||
|
|
||||||
if (surface)
|
if (surface)
|
||||||
wlr_tablet_v2_tablet_tool_notify_motion(tablet_tool, sx, sy);
|
wlr_tablet_v2_tablet_tool_notify_motion(tablet_tool, sx, sy);
|
||||||
|
|
||||||
|
wlr_idle_notifier_v1_notify_activity(idle_notifier, seat);
|
||||||
|
handlecursoractivity();
|
||||||
}
|
}
|
||||||
|
|
||||||
void tablettoolproximity(struct wl_listener *listener, void *data) {
|
void tablettoolproximity(struct wl_listener *listener, void *data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue