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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3332>
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user