x11: Remove unused signals

master
Vlad Zahorodnii 2 years ago
parent fbb71f9c0b
commit f731a8e9cf

@ -1279,7 +1279,6 @@ void X11Window::setClientFrameExtents(const NETStrut &strut)
return;
}
const bool wasClientSideDecorated = isClientSideDecorated();
m_clientFrameExtents = clientFrameExtents;
// We should resize the client when its custom frame extents are changed so
@ -1289,10 +1288,6 @@ void X11Window::setClientFrameExtents(const NETStrut &strut)
// cannot be shaded, therefore it's okay not to use the adjusted size here.
moveResize(moveResizeGeometry());
if (wasClientSideDecorated != isClientSideDecorated()) {
Q_EMIT clientSideDecoratedChanged();
}
// This will invalidate the window quads cache.
Q_EMIT geometryShapeChanged(this, frameGeometry());
}

@ -87,11 +87,6 @@ class KWIN_EXPORT X11Window : public Window
* Use with care!
*/
Q_PROPERTY(bool blocksCompositing READ isBlockingCompositing WRITE setBlockingCompositing NOTIFY blockingCompositingChanged)
/**
* Whether the Client uses client side window decorations.
* Only GTK+ are detected.
*/
Q_PROPERTY(bool clientSideDecorated READ isClientSideDecorated NOTIFY clientSideDecoratedChanged)
Q_PROPERTY(qulonglong frameId READ frameId CONSTANT)
Q_PROPERTY(qulonglong windowId READ window CONSTANT)
public:
@ -359,33 +354,11 @@ protected:
void moveResizeInternal(const QRectF &rect, MoveResizeMode mode) override;
std::unique_ptr<WindowItem> createItem(Scene *scene) override;
// Signals for the scripting interface
// Signals make an excellent way for communication
// in between objects as compared to simple function
// calls
Q_SIGNALS:
/**
* Emitted whenever the Client want to show it menu
*/
void showRequest();
/**
* Emitted whenever the Client's menu is closed
*/
void menuHidden();
/**
* Emitted whenever the Client's menu is available
*/
void appMenuAvailable();
/**
* Emitted whenever the Client's menu is unavailable
*/
void appMenuUnavailable();
/**
* Emitted whenever the Client's block compositing state changes.
*/
void blockingCompositingChanged(KWin::X11Window *client);
void clientSideDecoratedChanged();
private:
void exportMappingState(int s); // ICCCM 4.1.3.1, 4.1.4, NETWM 2.5.1

Loading…
Cancel
Save