mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 14:51:51 +03:00
Fix flashing from maximized state problem
This commit is contained in:
parent
e8e004934d
commit
22f1782118
@ -258,7 +258,10 @@ namespace Gala
|
||||
//stolen from original mutter plugin
|
||||
public override void maximize (WindowActor actor, int ex, int ey, int ew, int eh)
|
||||
{
|
||||
if (!AnimationSettings.get_default ().enable_animations) {
|
||||
var meta_win = actor.get_meta_window ();
|
||||
|
||||
if (!AnimationSettings.get_default ().enable_animations ||
|
||||
meta_win.maximized_horizontally || meta_win.maximized_vertically) {
|
||||
maximize_completed (actor);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user