obsolete getTitle() from win client change to title()

This commit is contained in:
fluxgen 2003-12-17 01:19:39 +00:00
parent 084232bf59
commit f89c71c0db

View file

@ -20,7 +20,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: ClientPattern.cc,v 1.5 2003/11/17 00:29:30 fluxgen Exp $ // $Id: ClientPattern.cc,v 1.6 2003/12/17 01:19:39 fluxgen Exp $
#include "ClientPattern.hh" #include "ClientPattern.hh"
#include "RegExp.hh" #include "RegExp.hh"
@ -238,7 +238,7 @@ bool ClientPattern::addTerm(const std::string &str, WinProperty prop) {
std::string ClientPattern::getProperty(WinProperty prop, const WinClient &client) const { std::string ClientPattern::getProperty(WinProperty prop, const WinClient &client) const {
switch (prop) { switch (prop) {
case TITLE: case TITLE:
return client.getTitle(); return client.title();
break; break;
case CLASS: case CLASS:
return client.getWMClassClass(); return client.getWMClassClass();