diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 05:54:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 05:54:40 +0000 |
| commit | ef02a0c8ae65f169157c90064a335303e964a4c1 (patch) | |
| tree | f1a1bf6cfe05ee11545bfa811f5a2582e1906dce /src/client.cc | |
| parent | 5a90d2b671f01f29043ab82f909440de0abfa362 (diff) | |
almost done the ustring conversion
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cc b/src/client.cc index 0fc485c8..cdef1f94 100644 --- a/src/client.cc +++ b/src/client.cc @@ -531,15 +531,15 @@ void Client::updateClass() if (property->get(_window, otk::Property::wm_class, otk::Property::ascii, &num, &v)) { - if (num > 0) _app_name = v[0]; - if (num > 1) _app_class = v[1]; + if (num > 0) _app_name = v[0].c_str(); + if (num > 1) _app_class = v[1].c_str(); } v.clear(); num = 1; if (property->get(_window, otk::Property::wm_window_role, otk::Property::ascii, &num, &v)) { - if (num > 0) _role = v[0]; + if (num > 0) _role = v[0].c_str(); } } |
