diff --git a/KWinInterface.h b/KWinInterface.h index 1ab49d32f3..006c8995d0 100644 --- a/KWinInterface.h +++ b/KWinInterface.h @@ -8,9 +8,10 @@ class KWinInterface : virtual public DCOPObject K_DCOP k_dcop: - + virtual ASYNC cascadeDesktop() = 0; virtual ASYNC unclutterDesktop() = 0; + virtual ASYNC reconfigure() = 0; }; diff --git a/stdclient.cpp b/stdclient.cpp index 7af4774fed..a08f70f122 100644 --- a/stdclient.cpp +++ b/stdclient.cpp @@ -141,7 +141,6 @@ static void create_pixmaps() void StdClient::slotReset() { - warning("In slotReset"); delete close_pix; delete maximize_pix; delete minimize_pix; diff --git a/workspace.cpp b/workspace.cpp index 914b7b374a..09c3f65d14 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1452,6 +1452,15 @@ void Workspace::unclutterDesktop() } +/*! + Reread settings + */ +void Workspace::reconfigure() +{ + KGlobal::config()->reparseConfiguration(); + options->reload(); +} + /*! Lowers the client \a c taking layers, transient windows and window diff --git a/workspace.h b/workspace.h index 35b7a722dd..344219d16f 100644 --- a/workspace.h +++ b/workspace.h @@ -171,6 +171,7 @@ public: // dcop interface void cascadeDesktop(); void unclutterDesktop(); + void reconfigure(); public slots: