Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index d892cb62bf4788aef057075fbadaee77968aa475..ddfb0aa66e19e52b03376a03ea194189c5a3cac5 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -886,6 +886,14 @@ bool SetIntArrayProperty(XID window, |
return !err_tracker.FoundNewError(); |
} |
+bool SetAtomProperty(XID window, |
+ const std::string& name, |
+ const std::string& type, |
+ Atom value) { |
+ std::vector<Atom> values(1, value); |
+ return SetAtomArrayProperty(window, name, type, values); |
+} |
+ |
bool SetAtomArrayProperty(XID window, |
const std::string& name, |
const std::string& type, |