mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-11 02:05:40 +02:00
snap: fix wayland scroll
GitLab: #1629 Change-Id: I74a651728c6d2d9c55b39772a11090d60231b3d5
This commit is contained in:
parent
f5c63d24fb
commit
6ad5f4b850
4 changed files with 30 additions and 3 deletions
|
@ -49,7 +49,7 @@ QT_MAJOR := 6
|
||||||
QT_MINOR := 6
|
QT_MINOR := 6
|
||||||
QT_PATCH := 1
|
QT_PATCH := 1
|
||||||
QT_TARBALL_CHECKSUM := dd3668f65645fe270bc615d748bd4dc048bd17b9dc297025106e6ecc419ab95d
|
QT_TARBALL_CHECKSUM := dd3668f65645fe270bc615d748bd4dc048bd17b9dc297025106e6ecc419ab95d
|
||||||
DEBIAN_QT_VERSION := $(QT_MAJOR).$(QT_MINOR).$(QT_PATCH)-0
|
DEBIAN_QT_VERSION := $(QT_MAJOR).$(QT_MINOR).$(QT_PATCH)-1
|
||||||
DEBIAN_QT_DSC_FILENAME := libqt-jami_$(DEBIAN_QT_VERSION).dsc
|
DEBIAN_QT_DSC_FILENAME := libqt-jami_$(DEBIAN_QT_VERSION).dsc
|
||||||
QT_JAMI_PREFIX := /usr/lib/libqt-jami
|
QT_JAMI_PREFIX := /usr/lib/libqt-jami
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
0001-replace_imp_by_importlib.patch
|
0001-replace_imp_by_importlib.patch
|
||||||
0002-fix-binary-tokenizer.patch
|
0002-fix-binary-tokenizer.patch
|
||||||
|
0003-qtwayland-downgrade-wl-seat-to-avoid-high-resolution.patch
|
|
@ -172,7 +172,7 @@ package-repositories:
|
||||||
components: [main]
|
components: [main]
|
||||||
suites: [jami]
|
suites: [jami]
|
||||||
key-id: A295D773307D25A33AE72F2F64CD5FA175348F84
|
key-id: A295D773307D25A33AE72F2F64CD5FA175348F84
|
||||||
url: https://dl.jami.net/nightly/ubuntu_20.04/
|
url: https://dl.jami.net/internal/ubuntu_20.04/
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
desktop-launch:
|
desktop-launch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue