From 1d4a9d24f86799b45994c545b054e205f371869f Mon Sep 17 00:00:00 2001 From: David Strobach Date: Mon, 25 Mar 2019 17:33:50 +0100 Subject: [PATCH] Expose AbstractClient::setMaximize to scripting Summary: Fixes BUG: 403071 Reviewers: graesslin, davidedmundson Reviewed By: graesslin, davidedmundson Subscribers: davidedmundson, zzag, graesslin, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20044 --- abstract_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstract_client.h b/abstract_client.h index 283ba89b98..2e92096e39 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -500,7 +500,7 @@ public: /** * Sets the maximization according to @p vertically and @p horizontally. **/ - void setMaximize(bool vertically, bool horizontally); + Q_INVOKABLE void setMaximize(bool vertically, bool horizontally); virtual bool noBorder() const = 0; virtual void setNoBorder(bool set) = 0; virtual void blockActivityUpdates(bool b = true) = 0;