Remove updateDecoration() in AbstractClient
This commit is contained in:
parent
70f46970da
commit
db996e0824
5 changed files with 3 additions and 14 deletions
|
@ -3743,13 +3743,6 @@ void AbstractClient::changeMaximize(bool horizontal, bool vertical, bool adjust)
|
|||
qCWarning(KWIN_CORE, "%s doesn't support setting maximized state", metaObject()->className());
|
||||
}
|
||||
|
||||
void AbstractClient::updateDecoration(bool check_workspace_pos, bool force)
|
||||
{
|
||||
Q_UNUSED(check_workspace_pos)
|
||||
Q_UNUSED(force)
|
||||
qCWarning(KWIN_CORE, "%s doesn't support server side decorations", metaObject()->className());
|
||||
}
|
||||
|
||||
void AbstractClient::invalidateDecoration()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -762,10 +762,6 @@ public:
|
|||
void processDecorationButtonRelease(QMouseEvent *event);
|
||||
bool wantsShadowToBeRendered() const override;
|
||||
|
||||
/**
|
||||
* TODO: fix boolean traps
|
||||
*/
|
||||
virtual void updateDecoration(bool check_workspace_pos, bool force = false);
|
||||
virtual void invalidateDecoration();
|
||||
|
||||
/**
|
||||
|
|
|
@ -53,7 +53,6 @@ public:
|
|||
AbstractClient *findModal(bool allow_itself = false) override;
|
||||
bool takeFocus() override;
|
||||
void setNoBorder(bool set) override;
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false) override;
|
||||
void invalidateDecoration() override;
|
||||
void destroyClient() override;
|
||||
bool hasPopupGrab() const override;
|
||||
|
@ -81,6 +80,7 @@ private:
|
|||
void markAsMapped();
|
||||
void syncGeometryToInternalWindow();
|
||||
void updateInternalWindowGeometry();
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false);
|
||||
|
||||
QWindow *m_internalWindow = nullptr;
|
||||
QString m_captionNormal;
|
||||
|
|
|
@ -182,7 +182,6 @@ public:
|
|||
|
||||
bool takeFocus() override;
|
||||
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false) override;
|
||||
void invalidateDecoration() override;
|
||||
|
||||
void updateShape();
|
||||
|
@ -444,6 +443,7 @@ private:
|
|||
|
||||
void maybeCreateX11DecorationRenderer();
|
||||
void maybeDestroyX11DecorationRenderer();
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false);
|
||||
|
||||
Xcb::Window m_client;
|
||||
Xcb::Window m_wrapper;
|
||||
|
|
|
@ -139,7 +139,6 @@ public:
|
|||
bool userCanSetNoBorder() const override;
|
||||
bool noBorder() const override;
|
||||
void setNoBorder(bool set) override;
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false) override;
|
||||
void invalidateDecoration() override;
|
||||
QString preferredColorScheme() const override;
|
||||
bool supportsWindowRules() const override;
|
||||
|
@ -198,6 +197,7 @@ private:
|
|||
void sendPing(PingReason reason);
|
||||
MaximizeMode initialMaximizeMode() const;
|
||||
bool initialFullScreenMode() const;
|
||||
void updateDecoration(bool check_workspace_pos, bool force = false);
|
||||
|
||||
QPointer<KWaylandServer::AppMenuInterface> m_appMenuInterface;
|
||||
QPointer<KWaylandServer::ServerSideDecorationPaletteInterface> m_paletteInterface;
|
||||
|
|
Loading…
Reference in a new issue