File: xproperty.h

package info (click to toggle)
docker 1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ansic: 1,839; makefile: 229
file content (13 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __xproperty_h
#define __xproperty_h

#include <glib.h>
#include <X11/Xlib.h>

/* if the func returns TRUE, the returned value must be XFree()'d */
gboolean xprop_get8(Window window, Atom atom, Atom type, int size,
                    gulong *count, guchar **value);
gboolean xprop_get32(Window window, Atom atom, Atom type, int size,
                     gulong *count, gulong **value);

#endif /* __xproperty_h */