aboutsummaryrefslogtreecommitdiff
path: root/src/ClientPattern.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
commit690d926ac444243611cd875fb84fabb4e6db2cf2 (patch)
treec8ef84056b295071f9a9207ffea5393c6cf4ad4d /src/ClientPattern.cc
parent1e8fe2bc14856fa16508686a28a85e72cb0e422c (diff)
downloadfluxbox-690d926ac444243611cd875fb84fabb4e6db2cf2.zip
fluxbox-690d926ac444243611cd875fb84fabb4e6db2cf2.tar.bz2
introduced FbTk::BidiString
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
Diffstat (limited to 'src/ClientPattern.cc')
-rw-r--r--src/ClientPattern.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc
index 41080fa..d6c7212 100644
--- a/src/ClientPattern.cc
+++ b/src/ClientPattern.cc
@@ -341,13 +341,13 @@ bool ClientPattern::addTerm(const string &str, WinProperty prop, bool negate) {
341 return true; 341 return true;
342} 342}
343 343
344string ClientPattern::getProperty(WinProperty prop, const Focusable &client) { 344FbTk::FbString ClientPattern::getProperty(WinProperty prop, const Focusable &client) {
345 // we need this for some of the window properties 345 // we need this for some of the window properties
346 const FluxboxWindow *fbwin = client.fbwindow(); 346 const FluxboxWindow *fbwin = client.fbwindow();
347 347
348 switch (prop) { 348 switch (prop) {
349 case TITLE: 349 case TITLE:
350 return client.title(); 350 return client.title().logical();
351 break; 351 break;
352 case CLASS: 352 case CLASS:
353 return client.getWMClassClass(); 353 return client.getWMClassClass();