diff --git a/abstract_client.cpp b/abstract_client.cpp --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -650,6 +650,8 @@ w->setSkipTaskbar(skipTaskbar()); w->setShadable(isShadeable()); w->setShaded(isShade()); + w->setResizable(isResizable()); + w->setMovable(isMovable()); connect(this, &AbstractClient::skipTaskbarChanged, w, [w, this] { w->setSkipTaskbar(skipTaskbar()); @@ -691,6 +693,16 @@ ); connect(this, &AbstractClient::shadeChanged, w, [w, this] { w->setShaded(isShade()); }); connect(w, &PlasmaWindowInterface::closeRequested, this, [this] { closeWindow(); }); + connect(w, &PlasmaWindowInterface::moveModeRequested, this, + [this] { + performMouseCommand(Options::MouseMove, Cursor::pos()); + } + ); + connect(w, &PlasmaWindowInterface::resizeModeRequested, this, + [this] { + performMouseCommand(Options::MouseResize, Cursor::pos()); + } + ); connect(w, &PlasmaWindowInterface::virtualDesktopRequested, this, [this] (quint32 desktop) { workspace()->sendClientToDesktop(this, desktop + 1, true);