2023-12-28 13:36:59 -08:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
|
|
|
|
|
|
use crate::state::State;
|
2024-04-08 16:55:41 -07:00
|
|
|
use smithay::{
|
2026-04-28 16:58:33 -07:00
|
|
|
backend::input::TabletToolDescriptor, input::pointer::CursorImageStatus,
|
2026-08-04 01:09:16 -07:00
|
|
|
input::tablet::TabletSeatHandler, reexports::wayland_server::protocol::wl_surface,
|
2024-04-08 16:55:41 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
impl TabletSeatHandler for State {
|
2026-08-04 01:09:16 -07:00
|
|
|
type ToolFocus = wl_surface::WlSurface;
|
|
|
|
|
|
2024-04-08 16:55:41 -07:00
|
|
|
fn tablet_tool_image(&mut self, _tool: &TabletToolDescriptor, _image: CursorImageStatus) {
|
|
|
|
|
// TODO display cursor for each tablet tool
|
|
|
|
|
}
|
|
|
|
|
}
|