From bf2776b42f786c5ba2e779390e36ded3c8b4a7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 27 Jan 2013 20:09:16 +0100 Subject: [PATCH] capture condensedTitle config change --- client.cpp | 2 ++ client.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 7de2b06353..5fb6dcb87c 100644 --- a/client.cpp +++ b/client.cpp @@ -211,6 +211,8 @@ Client::Client(Workspace* ws) connect(this, SIGNAL(clientStartUserMovedResized(KWin::Client*)), SIGNAL(moveResizedChanged())); connect(this, SIGNAL(clientFinishUserMovedResized(KWin::Client*)), SIGNAL(moveResizedChanged())); + connect(options, SIGNAL(condensedTitleChanged()), SLOT(updateCaption())); + // SELI TODO: Initialize xsizehints?? } diff --git a/client.h b/client.h index 9e261280a9..663fa3cb59 100644 --- a/client.h +++ b/client.h @@ -499,7 +499,6 @@ public: void updateCompositeBlocking(bool readProperty = false); QString caption(bool full = true, bool stripped = false) const; - void updateCaption(); void keyPressEvent(uint key_code); // FRAME ?? void updateMouseGrab(); @@ -654,6 +653,7 @@ public: public slots: void closeWindow(); + void updateCaption(); private slots: void autoRaise();