Skip to content

Commit

Permalink
Fix communication with DING
Browse files Browse the repository at this point in the history
The extension state naming has changed from gnome shell 45 to
gnome shell 46, so the code to notify margins to DING wasn't
being able to detect when an extension was active, and so it
didn't prevent to put icons below the dock.

This patch fixes it.
  • Loading branch information
sergio-costas committed May 12, 2024
1 parent 8a73fa6 commit aae1e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktopIconsIntegration.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class DesktopIconsUsableAreaClass {
_sendMarginsToExtension(extension) {
// check that the extension is an extension that has the logic to accept
// working margins
if (extension?.state !== ExtensionUtils.ExtensionState.ENABLED)
if ((extension?.state !== ExtensionUtils.ExtensionState.ENABLED) && (extension?.state !== ExtensionUtils.ExtensionState.ACTIVE))
return;

const usableArea = extension?.stateObj?.DesktopIconsUsableArea;
Expand Down

0 comments on commit aae1e63

Please sign in to comment.