diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-08 18:17:21 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-08 18:17:21 (GMT) |
commit | 690d926ac444243611cd875fb84fabb4e6db2cf2 (patch) | |
tree | c8ef84056b295071f9a9207ffea5393c6cf4ad4d /src/Ewmh.cc | |
parent | 1e8fe2bc14856fa16508686a28a85e72cb0e422c (diff) | |
download | fluxbox_pavel-690d926ac444243611cd875fb84fabb4e6db2cf2.zip fluxbox_pavel-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/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 441c849..c09154d 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -131,7 +131,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) { | |||
131 | // actually there is some data in _NET_WM_ICON | 131 | // actually there is some data in _NET_WM_ICON |
132 | nr_icon_data = nr_bytes_left / sizeof(CARD32); | 132 | nr_icon_data = nr_bytes_left / sizeof(CARD32); |
133 | 133 | ||
134 | fbdbg << "extractNetWmIcon: " << winclient.title() << "\n"; | 134 | fbdbg << "extractNetWmIcon: " << winclient.title().logical() << "\n"; |
135 | fbdbg << "nr_icon_data: " << nr_icon_data << "\n"; | 135 | fbdbg << "nr_icon_data: " << nr_icon_data << "\n"; |
136 | 136 | ||
137 | // read all the icons stored in _NET_WM_ICON | 137 | // read all the icons stored in _NET_WM_ICON |
@@ -164,7 +164,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) { | |||
164 | if (width >= nr_icon_data) { | 164 | if (width >= nr_icon_data) { |
165 | 165 | ||
166 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON width (" | 166 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON width (" |
167 | << width << ") for " << winclient.title() << "\n"; | 167 | << width << ") for " << winclient.title().logical() << "\n"; |
168 | break; | 168 | break; |
169 | } | 169 | } |
170 | 170 | ||
@@ -172,7 +172,7 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) { | |||
172 | if (height >= nr_icon_data) { | 172 | if (height >= nr_icon_data) { |
173 | 173 | ||
174 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON height (" | 174 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON height (" |
175 | << height << ") for " << winclient.title() << "\n"; | 175 | << height << ") for " << winclient.title().logical() << "\n"; |
176 | 176 | ||
177 | break; | 177 | break; |
178 | } | 178 | } |
@@ -180,7 +180,8 @@ void extractNetWmIcon(Atom net_wm_icon, WinClient& winclient) { | |||
180 | // strange values stored in the NETWM_ICON | 180 | // strange values stored in the NETWM_ICON |
181 | if (i + width * height > nr_icon_data) { | 181 | if (i + width * height > nr_icon_data) { |
182 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON dimensions (" | 182 | fbdbg << "Ewmh.cc extractNetWmIcon found strange _NET_WM_ICON dimensions (" |
183 | << width << "x" << height << ")for " << winclient.title() << "\n"; | 183 | |
184 | << width << "x" << height << ")for " << winclient.title().logical() << "\n"; | ||
184 | 185 | ||
185 | break; | 186 | break; |
186 | } | 187 | } |