diff options
Diffstat (limited to 'src/wayland/surface.c')
| -rw-r--r-- | src/wayland/surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wayland/surface.c b/src/wayland/surface.c index f291190..ce1764b 100644 --- a/src/wayland/surface.c +++ b/src/wayland/surface.c @@ -284,6 +284,7 @@ uint32_t wayland_display_caps(const struct wayland_display *c) { if (!c) return 0; uint32_t caps = YASL_CAP_POPUPS | YASL_CAP_CSD | YASL_CAP_FRAME_PACING; + if (c->tablet_mgr) caps |= YASL_CAP_TABLET; struct seat *s = conn_active_seat(c); const struct wl_data_device *device = s ? clipboard_data_device(s->clipboard) : NULL; if (device && wl_data_device_get_version((struct wl_data_device *)device) >= 3) @@ -346,6 +347,7 @@ struct wayland_surface *wayland_surface_create_toplevel(struct wayland_display * display_enter(c); conn_link(c, w); wayland_surface_set_callbacks(w, NULL, NULL); + w->cursor = YASL_CURSOR_TEXT; w->req_width = width; w->req_height = height; w->logical_width = width; |
