diff --git a/abstract_client.h b/abstract_client.h --- a/abstract_client.h +++ b/abstract_client.h @@ -343,7 +343,7 @@ } virtual void updateMouseGrab(); - virtual QString caption(bool full = true, bool stripped = false) const = 0; + virtual QString caption(bool full = true) const = 0; virtual bool isCloseable() const = 0; // TODO: remove boolean trap virtual bool isShown(bool shaded_is_shown) const = 0; diff --git a/client.h b/client.h --- a/client.h +++ b/client.h @@ -219,7 +219,7 @@ void setBlockingCompositing(bool block); inline bool isBlockingCompositing() { return blocks_compositing; } - QString caption(bool full = true, bool stripped = false) const override; + QString caption(bool full = true) const override; using AbstractClient::keyPressEvent; void keyPressEvent(uint key_code, xcb_timestamp_t time); // FRAME ?? diff --git a/client.cpp b/client.cpp --- a/client.cpp +++ b/client.cpp @@ -1533,9 +1533,9 @@ /** * \reimp */ -QString Client::caption(bool full, bool stripped) const +QString Client::caption(bool full) const { - QString cap = stripped ? cap_deco : cap_normal; + QString cap = cap_normal; if (full) { cap += cap_suffix; if (unresponsive()) { diff --git a/shell_client.h b/shell_client.h --- a/shell_client.h +++ b/shell_client.h @@ -63,7 +63,7 @@ } void blockActivityUpdates(bool b = true) override; - QString caption(bool full = true, bool stripped = false) const override; + QString caption(bool full = true) const override; void closeWindow() override; AbstractClient *findModal(bool allow_itself = false) override; bool isCloseable() const override; diff --git a/shell_client.cpp b/shell_client.cpp --- a/shell_client.cpp +++ b/shell_client.cpp @@ -554,10 +554,9 @@ Q_UNUSED(b) } -QString ShellClient::caption(bool full, bool stripped) const +QString ShellClient::caption(bool full) const { Q_UNUSED(full) - Q_UNUSED(stripped) return m_caption; }