From e6618d093d9dd01ad2e91529a7349a39394f003d Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 21 May 2024 21:46:06 +0200 Subject: [PATCH] window/menu: Remove move titlebar onscreen action A feature that works for server side decorated windows only that only adds slightly more convenience over the regular "move" action that is still there. Keeping it around would complicate some cleanups in upstream Mutter so just drop it. Part-of: --- js/ui/windowMenu.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index 571a19358..c69c183d7 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -97,12 +97,6 @@ export class WindowMenu extends PopupMenu.PopupMenu { if (!window.allows_resize()) item.setSensitive(false); - if (!window.titlebar_is_onscreen() && type !== Meta.WindowType.DOCK && type !== Meta.WindowType.DESKTOP) { - this.addAction(_('Move Titlebar Onscreen'), () => { - window.shove_titlebar_onscreen(); - }); - } - item = this.addAction(_('Always on Top'), () => { if (window.is_above()) window.unmake_above();