summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-07-24 12:50:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-07-24 15:26:03 +0200
commit7eb367d2eb811a0d9bad1ca1f001620be2f1436c (patch)
tree894d99e0a37b9b6979e5d54f7b3320dfa0915322 /kde-plasma/kwin/files
parentkde-plasma/kwayland-integration: drop 5.27.5 (diff)
downloadgentoo-7eb367d2eb811a0d9bad1ca1f001620be2f1436c.tar.gz
gentoo-7eb367d2eb811a0d9bad1ca1f001620be2f1436c.tar.bz2
gentoo-7eb367d2eb811a0d9bad1ca1f001620be2f1436c.zip
kde-plasma/kwin: drop 5.27.5-r2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kwin/files')
-rw-r--r--kde-plasma/kwin/files/kwin-5.27.5-fix-xcbutils-nativeFloor.patch32
-rw-r--r--kde-plasma/kwin/files/kwin-5.27.5-revert-7c91c4ba.patch49
2 files changed, 0 insertions, 81 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.27.5-fix-xcbutils-nativeFloor.patch b/kde-plasma/kwin/files/kwin-5.27.5-fix-xcbutils-nativeFloor.patch
deleted file mode 100644
index 97fed89af956..000000000000
--- a/kde-plasma/kwin/files/kwin-5.27.5-fix-xcbutils-nativeFloor.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2237391e979b2423462bb5eaf1fdf4c0876f7476 Mon Sep 17 00:00:00 2001
-From: Xaver Hugl <xaver.hugl@gmail.com>
-Date: Wed, 10 May 2023 12:28:24 +0200
-Subject: [PATCH] xcbutils: fix nativeFloor
-
-The floor was not done in the X-native coordinate space but with double
-scaling
-
-BUG: 459373
-
-
-(cherry picked from commit a48c98f5aba71fab8bc1e1d5dd18668833631920)
----
- src/utils/xcbutils.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/utils/xcbutils.cpp b/src/utils/xcbutils.cpp
-index cea0ef7c894..9731f483c0b 100644
---- a/src/utils/xcbutils.cpp
-+++ b/src/utils/xcbutils.cpp
-@@ -646,7 +646,7 @@ QSizeF fromXNative(const QSize &s)
-
- static qreal nativeFloor(qreal value)
- {
-- return std::floor(value / kwinApp()->xwaylandScale()) * kwinApp()->xwaylandScale();
-+ return std::floor(value * kwinApp()->xwaylandScale()) / kwinApp()->xwaylandScale();
- }
-
- QRectF nativeFloor(const QRectF &rect)
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.27.5-revert-7c91c4ba.patch b/kde-plasma/kwin/files/kwin-5.27.5-revert-7c91c4ba.patch
deleted file mode 100644
index f7c2047818b3..000000000000
--- a/kde-plasma/kwin/files/kwin-5.27.5-revert-7c91c4ba.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 3d62e7548955e2ddf298c61a55fcd26007ea27bb Mon Sep 17 00:00:00 2001
-From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
-Date: Thu, 11 May 2023 22:56:32 +0300
-Subject: [PATCH] Revert "wayland: Avoid pointer warp if constraint region is
- invalid"
-
-This reverts commit 7c91c4bad9ee709eebfdf9d5b3997fa00ca7cd13.
-
-It created regressions in some video games. After a closer look at the
-pointer constraint region handling, there are some issues, but it might
-be safer to fix them in master.
-
-In meanwhile, let's revert 7c91c4bad because it breaks more things than
-it fixes.
-
-CCBUG: 457021
-BUG: 469555
-
-
-(cherry picked from commit 07da1796b8388b00275d8281fac476bde71cd02b)
----
- src/pointer_input.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/pointer_input.cpp b/src/pointer_input.cpp
-index 2b582649a61..d47b5bc47d3 100644
---- a/src/pointer_input.cpp
-+++ b/src/pointer_input.cpp
-@@ -669,7 +669,7 @@ void PointerInputRedirection::updatePointerConstraints()
- lock->setLocked(false);
- m_locked = false;
- disconnectLockedPointerAboutToBeUnboundConnection();
-- if (!(hint.x() < 0 || hint.y() < 0 || !lock->region().contains(hint.toPoint())) && focus()) {
-+ if (!(hint.x() < 0 || hint.y() < 0) && focus()) {
- processMotionAbsolute(focus()->mapFromLocal(hint), waylandServer()->seat()->timestamp());
- }
- }
-@@ -684,7 +684,7 @@ void PointerInputRedirection::updatePointerConstraints()
- // In this case the cached cursor position hint must be fetched before the resource goes away
- m_lockedPointerAboutToBeUnboundConnection = connect(lock, &KWaylandServer::LockedPointerV1Interface::aboutToBeDestroyed, this, [this, lock]() {
- const auto hint = lock->cursorPositionHint();
-- if (hint.x() < 0 || hint.y() < 0 || !lock->region().contains(hint.toPoint()) || !focus()) {
-+ if (hint.x() < 0 || hint.y() < 0 || !focus()) {
- return;
- }
- auto globalHint = focus()->mapFromLocal(hint);
---
-GitLab
-