Skip to content

Commit a11a266

Browse files
committed
windowMenu.js: Don't display for desktop windows.
Fixes #11407.
1 parent fce8b5e commit a11a266

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/ui/windowMenu.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ var WindowMenuManager = class {
386386
if (type != Meta.WindowMenuType.WM)
387387
throw new Error('Unsupported window menu type');
388388

389+
if (window.window_type === Meta.WindowType.DESKTOP) {
390+
return;
391+
}
392+
389393
this.destroyMenu();
390394

391395
let menu = new WindowMenu(window, this._sourceActor);

0 commit comments

Comments
 (0)