Kwin 5.27.3 no WL_POINTER_AXIS_VALUE120_SINCE_VERSION
I'm compiling Kwin 5.27.3,there is some errors:
- no WL_POINTER_AXIS_VALUE120_SINCE_VERSION
- no member send_axis_value120
OS:ubuntu 22.04 wayland-protocols:1.31 Kwin:5.27.3
All KDE code from github mirrors.
cmake.log is below:
/kde/src/kwin/src/wayland/pointer_interface.cpp: In member function ‘void KWaylandServer::PointerInterface::sendAxis(Qt::Orientation, qreal, qint32, KWaylandServer::PointerAxisSource)’: /kde/src/kwin/src/wayland/pointer_interface.cpp:271:23: error: ‘WL_POINTER_AXIS_VALUE120_SINCE_VERSION’ was not declared in this scope; did you mean ‘WL_POINTER_AXIS_SOURCE_SINCE_VERSION’? 271 | if (version < WL_POINTER_AXIS_VALUE120_SINCE_VERSION && deltaV120 && !valueDiscrete) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | WL_POINTER_AXIS_SOURCE_SINCE_VERSION /kde/src/kwin/src/wayland/pointer_interface.cpp:302:32: error: ‘WL_POINTER_AXIS_VALUE120_SINCE_VERSION’ was not declared in this scope; did you mean ‘WL_POINTER_AXIS_SOURCE_SINCE_VERSION’? 302 | if (version >= WL_POINTER_AXIS_VALUE120_SINCE_VERSION) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | WL_POINTER_AXIS_SOURCE_SINCE_VERSION /kde/src/kwin/src/wayland/pointer_interface.cpp:304:24: error: ‘class KWaylandServer::PointerInterfacePrivate’ has no member named ‘send_axis_value120’ 304 | d->send_axis_value120(resource->handle, wlOrientation, deltaV120); | ^~~~~~~~~~~~~~~~~~ gmake[2]: *** [src/CMakeFiles/kwin.dir/build.make:4107: src/CMakeFiles/kwin.dir/wayland/pointer_interface.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[1]: *** [CMakeFiles/Makefile2:6255: src/CMakeFiles/kwin.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 ~
I reviewed code of PointerINterfacePrivate and its parent class wl_pointer,there is only a method void send_axis(uint32_t time, uint32_t axis, wl_fixed_t value); is similar send_axis_value120(resource->handle, wlOrientation, deltaV120);.
Is it a bug? Anyone knows?
What can i do to make it correct?