layout: Don't use supports_extended_barriers()
The method was deprecated in favor of backend capabilities, so query those instead. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>
This commit is contained in:
parent
02c85fbb64
commit
b09eced160
@ -1218,7 +1218,8 @@ class HotCorner extends Clutter.Actor {
|
||||
}
|
||||
|
||||
_setupFallbackCornerIfNeeded(layoutManager) {
|
||||
if (!global.display.supports_extended_barriers()) {
|
||||
const {capabilities} = global.backend;
|
||||
if ((capabilities & Meta.BackendCapabilities.BARRIERS) === 0) {
|
||||
this.set({
|
||||
name: 'hot-corner-environs',
|
||||
x: this._x,
|
||||
|
Loading…
Reference in New Issue
Block a user