Skip to content

Commit

Permalink
Add compatibility with DING for Dynamic Transparency
Browse files Browse the repository at this point in the history
This patch adds compatibility with Desktop Icons NG for Dynamic Transparency functionality by taking into account that, under Wayland, the "skip-taskbar" property can be set only under very specific circumstances (that, currently, only DING does fulfill).
  • Loading branch information
Patryk Skorupa authored and vanvugt committed Jul 26, 2022
1 parent e6d2c51 commit e0c26e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion theming.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ var Transparency = class DashToDock_Transparency {
let windows = activeWorkspace.list_windows().filter(function(metaWindow) {
return metaWindow.get_monitor() === dash._monitorIndex &&
metaWindow.showing_on_its_workspace() &&
metaWindow.get_window_type() != Meta.WindowType.DESKTOP;
metaWindow.get_window_type() !== Meta.WindowType.DESKTOP &&
(!Meta.is_wayland_compositor() || !metaWindow.skip_taskbar);
});

/* Check if at least one window is near enough to the panel.
Expand Down

0 comments on commit e0c26e9

Please sign in to comment.