Skip to content

Commit

Permalink
Fixed pointer barrier preventing to move pointer from primary to seco…
Browse files Browse the repository at this point in the history
…ndary monitors when using multiple monitors
  • Loading branch information
clefebvre committed Dec 31, 2011
1 parent 463c887 commit dd4fda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ui/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ LayoutManager.prototype = {
let monitor = this.bottomMonitor;
this._leftPanelBarrier =
global.create_pointer_barrier(monitor.x, monitor.y + monitor.height - this.panelBox.height,
monitor.x, monitor.y,
monitor.x, monitor.y + monitor.height,
1 /* BarrierPositiveX */);
this._rightPanelBarrier =
global.create_pointer_barrier(monitor.x + monitor.width, monitor.y + monitor.height - this.panelBox.height,
monitor.x + monitor.width, monitor.y,
monitor.x + monitor.width, monitor.y + monitor.height,
4 /* BarrierNegativeX */);
} else {
this._leftPanelBarrier = 0;
Expand Down

0 comments on commit dd4fda7

Please sign in to comment.