Require wlroots 0.16.2+

This commit is contained in:
Keith Bowes 2023-02-13 09:42:32 -05:00
parent 4eb4536b28
commit f50ab866f9
2 changed files with 1 additions and 5 deletions

View file

@ -28,7 +28,7 @@ inc_dir = include_directories('include')
libevdev = dependency('libevdev')
libinput = dependency('libinput', version: '>=1.21.0')
libxml2 = dependency('libxml-2.0')
wlroots = dependency('wlroots', version: '>=0.16.0')
wlroots = dependency('wlroots', version: '>=0.16.2')
wayland_server = dependency('wayland-server', version: '>=1.15')
wayland_protos = dependency('wayland-protocols', version: '>=1.27')
xkbcommon = dependency('xkbcommon')

View file

@ -83,11 +83,7 @@ static void process_cursor_motion(struct wb_server *server, uint32_t time) {
* default. This is what makes the cursor image appear when you move it
* around the screen, not over any views. */
wlr_xcursor_manager_set_cursor_image(
#if WLR_CHECK_VERSION(0, 16, 2)
server->cursor->xcursor_manager, "default", server->cursor->cursor);
#else
server->cursor->xcursor_manager, "left_ptr", server->cursor->cursor);
#endif
}
if (surface) {
/*