aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-07 01:52:58 -0500
committerLibravatar emersion <contact@emersion.fr>2019-02-07 09:41:58 +0100
commitec5da0ca5bad6a433f727499d68ac1352397f5aa (patch)
tree0b7ebd3a56a08f44e6a88533a00e99db2501e755 /sway/config.c
parentload_main_config: use given path, store realpath (diff)
downloadsway-ec5da0ca5bad6a433f727499d68ac1352397f5aa.tar.gz
sway-ec5da0ca5bad6a433f727499d68ac1352397f5aa.tar.zst
sway-ec5da0ca5bad6a433f727499d68ac1352397f5aa.zip
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 'sway/config.c')
0 files changed, 0 insertions, 0 deletions