all repos — openbox @ 8b0daa912e72085994cfd804a60ba4113ba27148

openbox fork - make it a bit more like ryudo

rm old bb shit that we dont use
Dana Jansens danakj@orodu.net
commit

8b0daa912e72085994cfd804a60ba4113ba27148

parent

a7207b7d8367af47ddb7e2733cb963148fd0379f

2 files changed, 0 insertions(+), 29 deletions(-)

jump to
M otk/util.ccotk/util.cc

@@ -61,30 +61,6 @@ #endif // !__EMX__

} -string textPropertyToString(Display *display, XTextProperty& text_prop) { - string ret; - - if (text_prop.value && text_prop.nitems > 0) { - if (text_prop.encoding == XA_STRING) { - ret = (char *) text_prop.value; - } else { - text_prop.nitems = strlen((char *) text_prop.value); - - char **list; - int num; - if (XmbTextPropertyToTextList(display, &text_prop, - &list, &num) == Success && - num > 0 && *list) { - ret = *list; - XFreeStringList(list); - } - } - } - - return ret; -} - - string itostring(unsigned long i) { if (i == 0) return string("0");
M otk/util.hhotk/util.hh

@@ -23,14 +23,9 @@ #include <vector>

namespace otk { -/* XXX: this needs autoconf help */ -const unsigned int BSENTINEL = 65535; - std::string expandTilde(const std::string& s); void bexec(const std::string& command, const std::string& displaystring); - -std::string textPropertyToString(Display *display, XTextProperty& text_prop); std::string itostring(unsigned long i); std::string itostring(long i);