Skip to content

Commit

Permalink
Fix intellihide
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Mar 24, 2024
1 parent 1f40909 commit 160fde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intellihide.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const Intellihide = class {
}

_setRevealMechanism() {
if (global.display.supports_extended_barriers() && SETTINGS.get_boolean('intellihide-use-pressure')) {
if ((global.backend.capabilities & Meta.BackendCapabilities.BARRIERS) === 0 && SETTINGS.get_boolean('intellihide-use-pressure')) {
this._edgeBarrier = this._createBarrier();
this._pressureBarrier = new Layout.PressureBarrier(
SETTINGS.get_int('intellihide-pressure-threshold'),
Expand Down

0 comments on commit 160fde1

Please sign in to comment.