diff --git a/client.cpp b/client.cpp index 4e6d8501ce..fab17397d3 100644 --- a/client.cpp +++ b/client.cpp @@ -2692,6 +2692,11 @@ void Client::cloneMode(Client *client) setCaption(client->caption()); } +NETWinInfo * Client::netWinInfo() +{ + return static_cast(info); +} + NoBorderClient::NoBorderClient( Workspace *ws, WId w, QWidget *parent, const char *name ) : Client( ws, w, parent, name ) diff --git a/client.h b/client.h index 81073f6f38..cc4b9d66c1 100644 --- a/client.h +++ b/client.h @@ -19,6 +19,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich class Workspace; class Client; class WinInfo; +class NETWinInfo; class WindowWrapper : public QWidget { @@ -233,6 +234,8 @@ protected: bool propertyNotify( XPropertyEvent& e ); bool clientMessage( XClientMessageEvent& e ); + NETWinInfo * netWinInfo(); + private: QSize sizeForWindowSize( const QSize&, bool ignore_height = FALSE ) const; void getWmNormalHints();