[gnome-shell] boxpointer: Fix coordinate
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] boxpointer: Fix coordinate
- Date: Fri, 13 Aug 2021 13:25:56 +0000 (UTC)
commit 6f7df32b0ef1399f0ebcba420ad765a49ff9d34b
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Aug 13 02:58:33 2021 +0200
boxpointer: Fix coordinate
Eeeks. Spotted by coverity in CID 351259.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1950>
js/ui/boxpointer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/boxpointer.js b/js/ui/boxpointer.js
index 82d28cd834..c7a8f92d01 100644
--- a/js/ui/boxpointer.js
+++ b/js/ui/boxpointer.js
@@ -556,7 +556,7 @@ var BoxPointer = GObject.registerClass({
arrowOrigin = y1;
} else if (arrowOrigin >= (y2 - (borderRadius + halfBase))) {
if (arrowOrigin < y2)
- resX -= y2 - arrowOrigin;
+ resY -= y2 - arrowOrigin;
arrowOrigin = y2;
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]