mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
Check if window can maximize before performing action (#1613)
This commit is contained in:
parent
66333e3cb9
commit
7599756924
@ -27,6 +27,7 @@
|
||||
<issue url="https://github.com/elementary/gala/issues/743">Keyboard media controls do not work when in "Show all windows" view</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/913">Holding on keyboard shortcut to activate the action only once</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/1059">Improper animation when use Multitasking View and Show all windows one after another</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/1089">Maximise current window hot corner shouldn't maximise every app</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/1229">Notification bubble appears in wrong corner on one workspace</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/1347">Parity between right-clicking titlebars/headerbars on mouse and touchpad</issue>
|
||||
<issue url="https://github.com/elementary/gala/issues/1387">Window menu sluggish/inoperative for apps with flathub origin</issue>
|
||||
|
@ -840,7 +840,7 @@ namespace Gala {
|
||||
workspace_view.open ();
|
||||
break;
|
||||
case ActionType.MAXIMIZE_CURRENT:
|
||||
if (current == null || current.window_type != Meta.WindowType.NORMAL)
|
||||
if (current == null || current.window_type != Meta.WindowType.NORMAL || !current.can_maximize ())
|
||||
break;
|
||||
|
||||
var maximize_flags = current.get_maximized ();
|
||||
|
Loading…
Reference in New Issue
Block a user