mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-25 21:38:25 +00:00
window layouter: control maximize by editing rules
This patch adds the missing propagation of the maximized state from the layout rules to the internal representation of a window. Without this patch this state could be toggled by clicking on the maximizer button only.
This commit is contained in:
parent
8d62f21b40
commit
d18f8eea2b
@ -115,6 +115,8 @@ class Window_layouter::Assign : public List_model<Assign>::Element
|
||||
return Rect(outer.p1() + target_geometry.p1(), outer.area());
|
||||
}
|
||||
|
||||
bool maximized() const { return _maximized; }
|
||||
|
||||
/**
|
||||
* Call 'fn' with 'Registry<Member>' if label matches assignment
|
||||
*
|
||||
|
@ -116,6 +116,7 @@ struct Window_layouter::Main : Operations,
|
||||
target.geometry(),
|
||||
_decorator_margins);
|
||||
member.window.outer_geometry(rect);
|
||||
member.window.maximized(assign.maximized());
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user