WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0553e73

Browse files
committed
:fix: More GNOME 49 fixes
1 parent 2224c13 commit 0553e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default class KandoIntegration extends Extension {
155155
let [x, y] = [0, 0];
156156

157157
if (this._lastPointerDevice != null) {
158-
if (utils.shellVersionIsAtLeast(49)) {
158+
if (utils.shellVersionIsAtLeast(49, 1)) {
159159
// This will hopefully work in the final 49 release:
160160
// https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4668
161161
global.stage.foreach_sprite((stage, sprite) => {
@@ -166,7 +166,7 @@ export default class KandoIntegration extends Extension {
166166
}
167167
});
168168
} else if (utils.shellVersionIsAtLeast(49, 'beta')) {
169-
// Between 49 beta and 49.0, there was no way to query the position of a specific
169+
// Between 49 beta and 49.1, there was no way to query the position of a specific
170170
// input device. So we just return the main pointer position here.
171171
[x, y] = global.get_pointer();
172172
} else {

0 commit comments

Comments
 (0)