Lots of cleanups to fvwm-menu-desktop
[fvwm.git] / fvwm / gnome.h
blobf342b333f223762bc76f31587cc3790a529ce7fd
1 /* -*-c-*- */
2 /*
3 * GNOME WM Compliance adapted for fvwm
4 * Properties set on the root window (or desktop window)
6 * Even though the rest of fvwm is GPL consider this file
7 * Public Domain - use it however you see fit to make
8 * your WM GNOME compiant
10 * written by Raster
11 * adapted for fvwm by Jay Painter <jpaint@gnu.org>
14 #ifndef GNOME_H
15 #define GNOME_H
17 /* GNOME window manager hints support */
19 /* initalization */
20 void GNOME_Init(void);
22 /* client messages; setting hints on a window comes through this mechanism */
23 int GNOME_ProcessClientMessage(const exec_context_t *exc);
25 /* hook into config functions */
26 void GNOME_ButtonFunc(
27 XEvent *eventp, Window w, FvwmWindow *fwin, unsigned long context,
28 char *action, int *Module);
30 void GNOME_ProxyButtonEvent(const XEvent *ev);
32 void GNOME_ShowDesks(
33 XEvent *eventp, Window w, FvwmWindow *fwin, unsigned long context,
34 char *action, int *Module);
36 /* get hints on a window; sets parameters in a FvwmWindow */
37 void GNOME_GetHints(FvwmWindow *fwin);
38 /* get hints on a window, set parameters in style */
39 void GNOME_GetStyle(FvwmWindow *fwin, window_style *style);
41 /* set hints on a window from parameters in FvwmWindow */
42 void GNOME_SetHints(FvwmWindow *fwin);
44 void GNOME_SetLayer(FvwmWindow *fwin);
45 void GNOME_SetDesk(FvwmWindow *fwin);
46 void GNOME_SetWinArea(FvwmWindow *w);
47 void GNOME_HandlePropRequest(
48 const exec_context_t *exc, unsigned int propm, unsigned int prop);
50 /* update public window manager information */
51 void GNOME_SetAreaCount(void);
52 void GNOME_SetDeskCount(void);
53 void GNOME_SetCurrentArea(void);
54 void GNOME_SetCurrentDesk(void);
55 void GNOME_SetClientList(void);
57 #endif /* GNOME_H */