Have clients where we've set their position as non-placeable
If the client opted to position them on purpose, don't move them around. If the geometry of the workspace changes it's their job to react accordingly. BUG: 429353
This commit is contained in:
parent
bcba2e252f
commit
7f4d1120c5
2 changed files with 6 additions and 0 deletions
|
@ -547,6 +547,11 @@ bool XdgToplevelClient::isMinimizable() const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool XdgToplevelClient::isPlaceable() const
|
||||
{
|
||||
return !m_plasmaShellSurface || !m_plasmaShellSurface->isPositionSet();
|
||||
}
|
||||
|
||||
bool XdgToplevelClient::isTransient() const
|
||||
{
|
||||
return m_isTransient;
|
||||
|
|
|
@ -132,6 +132,7 @@ public:
|
|||
bool isFullScreenable() const override;
|
||||
bool isMaximizable() const override;
|
||||
bool isMinimizable() const override;
|
||||
bool isPlaceable() const override;
|
||||
bool isTransient() const override;
|
||||
bool userCanSetFullScreen() const override;
|
||||
bool userCanSetNoBorder() const override;
|
||||
|
|
Loading…
Reference in a new issue