summaryrefslogtreecommitdiffstats
path: root/ui/base/x/x11_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/x/x11_util.h')
-rw-r--r--ui/base/x/x11_util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index 757b149..411c941 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -124,6 +124,15 @@ UI_EXPORT bool GetAtomArrayProperty(XID window,
UI_EXPORT bool GetStringProperty(
XID window, const std::string& property_name, std::string* value);
+UI_EXPORT bool SetIntProperty(XID window,
+ const std::string& name,
+ const std::string& type,
+ int value);
+UI_EXPORT bool SetIntArrayProperty(XID window,
+ const std::string& name,
+ const std::string& type,
+ const std::vector<int>& value);
+
// Gets the X atom for default display corresponding to atom_name.
Atom GetAtom(const char* atom_name);