Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unite@hardpixel.eu/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"shell-version": ["45", "46", "47", "48", "49"],
"shell-version": ["45", "46", "47", "48", "49", "50"],
"uuid": "unite@hardpixel.eu",
"url": "https://github.com/hardpixel/unite-shell",
"settings-schema": "org.gnome.shell.extensions.unite",
Expand Down
11 changes: 9 additions & 2 deletions unite@hardpixel.eu/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ const MetaWindow = GObject.registerClass(
return false
}

get skipTaskbar() {
if (Meta.is_wayland_compositor) {
return Meta.is_wayland_compositor() && this.win.skip_taskbar
}

return this.win.skip_taskbar
}

get primaryScreen() {
return this.win.is_on_primary_monitor()
}
Expand Down Expand Up @@ -276,10 +284,9 @@ const MetaWindow = GObject.registerClass(
if (this.hasFocus) {
const overview = Main.overview.visibleTarget
const controls = Main.panel.statusArea.uniteWindowControls
const skipTbar = Meta.is_wayland_compositor() && this.win.skip_taskbar

controls && controls.setVisible(
!overview && !skipTbar && this.showButtons
!overview && !this.skipTaskbar && this.showButtons
)
}
}
Expand Down
Loading