Skip to content

Commit

Permalink
windows: workaround for removed is_client_decorated method
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Sep 19, 2024
1 parent 41a9ec8 commit c47219d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion [email protected]/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,15 @@ const MetaWindow = GObject.registerClass(
}

get clientDecorated() {
return this.win.is_client_decorated()
if (this.win.is_client_decorated) {
return this.win.is_client_decorated()
}

if (this.win.get_client_type() == Meta.WindowClientType.WAYLAND) {
return true
}

return false
}

get primaryScreen() {
Expand Down

0 comments on commit c47219d

Please sign in to comment.