/* -*-c-*- */ /* * GNOME WM Compliance adapted for fvwm * Properties set on the root window (or desktop window) * * Even though the rest of fvwm is GPL consider this file * Public Domain - use it however you see fit to make * your WM GNOME compiant * * written by Raster * adapted for fvwm by Jay Painter */ #ifndef GNOME_H #define GNOME_H /* GNOME window manager hints support */ /* initalization */ void GNOME_Init(void); /* client messages; setting hints on a window comes through this mechanism */ int GNOME_ProcessClientMessage(const exec_context_t *exc); /* hook into config functions */ void GNOME_ButtonFunc( XEvent *eventp, Window w, FvwmWindow *fwin, unsigned long context, char *action, int *Module); void GNOME_ProxyButtonEvent(const XEvent *ev); void GNOME_ShowDesks( XEvent *eventp, Window w, FvwmWindow *fwin, unsigned long context, char *action, int *Module); /* get hints on a window; sets parameters in a FvwmWindow */ void GNOME_GetHints(FvwmWindow *fwin); /* get hints on a window, set parameters in style */ void GNOME_GetStyle(FvwmWindow *fwin, window_style *style); /* set hints on a window from parameters in FvwmWindow */ void GNOME_SetHints(FvwmWindow *fwin); void GNOME_SetLayer(FvwmWindow *fwin); void GNOME_SetDesk(FvwmWindow *fwin); void GNOME_SetWinArea(FvwmWindow *w); void GNOME_HandlePropRequest( const exec_context_t *exc, unsigned int propm, unsigned int prop); /* update public window manager information */ void GNOME_SetAreaCount(void); void GNOME_SetDeskCount(void); void GNOME_SetCurrentArea(void); void GNOME_SetCurrentDesk(void); void GNOME_SetClientList(void); #endif /* GNOME_H */