GTK+2 panel 

GTK+2 panel Git Source Tree

Root/netwm.h

1#ifndef __NET_WM_H__
2#define __NET_WM_H__
3
4#include <X11/Xlib.h>
5#include <X11/Xatom.h>
6#include <gdk/gdkx.h>
7
8
9G_BEGIN_DECLS
10
11#define GPWM_DISPLAY(GDK_DISPLAY ())
12#define GPWM_ROOT(DefaultRootWindow (GPWM_DISPLAY))
13#define GPWM_SCREEN(DefaultScreen (GPWM_DISPLAY))
14
15#definegpwm_intern_atom(p)XInternAtom (GPWM_DISPLAY, p, FALSE)
16#define gpwm_get_property(p,t,d)gpwm_window_get_property (GPWM_ROOT, p, t, d)
17#define gpwm_change_property(p,t,d,n)gpwm_window_change_property (GPWM_ROOT, p, t, d, n)
18
19
20unsigned longgpwm_window_get_property(Window window,
21 const gchar*property,
22 Atom a_type,
23 gpointer*data);
24gbooleangpwm_window_change_property32(Window window,
25 const gchar*property,
26 Atom a_type,
27 gint32*data,
28 int n_data);
29intgpwm_window_get_desktop(Window window);
30GdkWindowTypeHint
31gpwm_window_get_type(Window window);
32
33intgpwm_get_current_desktop(void);
34gbooleangpwm_is_supported(const gchar*feature);
35
36G_END_DECLS
37
38
39#endif/* __NET_WM_H__ */

Archive Download this file

Branches

Tags