mirror of
				https://git.jami.net/savoirfairelinux/jami-client-qt.git
				synced 2025-11-04 08:10:18 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			986 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			986 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From cf208d11dc8a9a02160a57283596ec8bab964a09 Mon Sep 17 00:00:00 2001
 | 
						|
From: Sebastien Blin <sebastien.blin@savoirfairelinux.com>
 | 
						|
Date: Mon, 27 May 2024 16:01:21 -0400
 | 
						|
Subject: [PATCH] qtwayland: downgrade wl-seat to avoid high-resolution
 | 
						|
 scrolling events
 | 
						|
 | 
						|
---
 | 
						|
 qtwayland/src/client/qwaylandinputdevice.cpp | 2 +-
 | 
						|
 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
						|
 | 
						|
diff --git a/qtwayland/src/client/qwaylandinputdevice.cpp b/qtwayland/src/client/qwaylandinputdevice.cpp
 | 
						|
index a4f8757e3c..ad0aa7941c 100644
 | 
						|
--- a/qtwayland/src/client/qwaylandinputdevice.cpp
 | 
						|
+++ b/qtwayland/src/client/qwaylandinputdevice.cpp
 | 
						|
@@ -383,7 +383,7 @@ QWaylandInputDevice::Touch::~Touch()
 | 
						|
 }
 | 
						|
 
 | 
						|
 QWaylandInputDevice::QWaylandInputDevice(QWaylandDisplay *display, int version, uint32_t id)
 | 
						|
-    : QtWayland::wl_seat(display->wl_registry(), id, qMin(version, 9))
 | 
						|
+    : QtWayland::wl_seat(display->wl_registry(), id, qMin(version, 7))
 | 
						|
     , mQDisplay(display)
 | 
						|
     , mDisplay(display->wl_display())
 | 
						|
 {
 | 
						|
-- 
 | 
						|
2.45.0
 | 
						|
 |