aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-02-07 01:52:58 -0500
committerDrew DeVault <sir@cmpwn.com>2019-02-11 10:22:53 -0500
commit32f790bd15e1a96f214ac2783bf66837dc0e9682 (patch)
tree8628735f74dd5cd446745a9a937c3fd5c40845c6 /swaymsg
parent8229814e7a8122b022e5f92fb4d925b00d0d4b1c (diff)
seat_configure_tablet_tool: configure xcursor
Since a tablet tool provides the WL_SEAT_CAPABILITY_POINTER capability, sway will attempt to use the xcursor manager to set a cursor image. If the tablet tool was the first (and possibly only) device to provide the capability for the seat, the xcursor manager was not being configured before attempting to set a cursor image. This was due to `seat_configure_xcursor` only being called in `seat_configure_pointer`. Since the xcursor manager was NULL in this case, it would cause a segfault when attempting to set a cursor image. This adds a call to `seat_configure_xcursor` in `seat_configure_tablet_tool` to ensure that the seat has a xcursor manager.
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions