Skip to content

Commit

Permalink
🪲 Fix issue #166
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed May 25, 2024
1 parent f449dfd commit f7f240d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export default class DesktopCube extends Extension {

// This is an exact copy of the original _onBarrierHit, with only one line disabled to
// ignore the given ActionMode.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/layout.js#L1366
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/layout.js#L1411
this._pressureBarrier._onBarrierHit = function(barrier, event) {
barrier._isHit = true;

Expand Down Expand Up @@ -645,6 +645,7 @@ export default class DesktopCube extends Extension {
});
} else {
this._leftBarrier = new Meta.Barrier({
backend: global.backend,
x1: 0,
x2: 0,
y1: 1,
Expand All @@ -653,6 +654,7 @@ export default class DesktopCube extends Extension {
});

this._rightBarrier = new Meta.Barrier({
backend: global.backend,
x1: global.stage.width,
x2: global.stage.width,
y1: 1,
Expand Down

0 comments on commit f7f240d

Please sign in to comment.