[X11] Added XGetAtomName() function

This commit is contained in:
thefiddler 2014-08-09 21:46:55 +02:00
parent 779ff311c2
commit 073ddf1bef

View file

@ -176,6 +176,9 @@ namespace OpenTK.Platform.X11
[DllImport("libX11", EntryPoint = "XInternAtoms")]
public extern static int XInternAtoms(IntPtr display, string[] atom_names, int atom_count, bool only_if_exists, IntPtr[] atoms);
[DllImport("libX11", EntryPoint = "XGetAtomName")]
public extern static IntPtr XGetAtomName(IntPtr display, IntPtr atom);
[DllImport("libX11", EntryPoint = "XSetWMProtocols")]
public extern static int XSetWMProtocols(IntPtr display, IntPtr window, IntPtr[] protocols, int count);