first commit
This commit is contained in:
17
src/0001_fixed_build_with_libxi.patch
Normal file
17
src/0001_fixed_build_with_libxi.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- a/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp 2023-08-21 14:35:51.107483754 +0300
|
||||
+++ b/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp 2023-08-21 16:14:51.554260285 +0300
|
||||
@@ -698,14 +698,6 @@
|
||||
" Minimum libXi version required is 1.7.4."
|
||||
" Expect issues with touch behavior.");
|
||||
}
|
||||
-#elif LIBXI_MAJOR == 1 && (LIBXI_MINOR < 7 || (LIBXI_MINOR == 7 && LIBXI_PATCH < 4))
|
||||
- static bool allowTouchWarningShown = false;
|
||||
- if (!allowTouchWarningShown) {
|
||||
- allowTouchWarningShown = true;
|
||||
- qWarning("Skipping XIAllowTouchEvents() due to not having libXi >= 1.7.4."
|
||||
- " libXi version at build time was %d.%d.%d."
|
||||
- " Expect issues with touch behavior.", LIBXI_MAJOR, LIBXI_MINOR, LIBXI_PATCH);
|
||||
- }
|
||||
#else
|
||||
XIAllowTouchEvents(static_cast<Display *>(m_xlib_display), xiDeviceEvent->deviceid,
|
||||
xiDeviceEvent->detail, xiDeviceEvent->event, XIAcceptTouch);
|
||||
Reference in New Issue
Block a user