Better error message when defaults file is missing.
[xfwm4.git] / src / compositor.h
blobb56221a57f674739e17ac5fda3d841fb46a95d7a
1 /* $Id$
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 xcompmgr - (c) 2003 Keith Packard
18 xfwm4 - (c) 2005-2007 Olivier Fourdan
22 #ifndef INC_COMPOSITOR_H
23 #define INC_COMPOSITOR_H
25 #ifdef HAVE_CONFIG_H
26 #include "config.h"
27 #endif
29 #include <X11/Xlib.h>
31 #include "display.h"
32 #include "screen.h"
33 #include "client.h"
35 gboolean compositorIsUsable (DisplayInfo *);
36 void compositorAddWindow (DisplayInfo *,
37 Window,
38 Client *);
39 gboolean compositorSetClient (DisplayInfo *,
40 Window,
41 Client *);
42 void compositorRemoveWindow (DisplayInfo *,
43 Window);
44 void compositorDamageWindow (DisplayInfo *,
45 Window);
46 void compositorHandleEvent (DisplayInfo *,
47 XEvent *);
48 void compositorInitDisplay (DisplayInfo *);
49 void compositorSetCompositeMode (DisplayInfo *,
50 gboolean);
52 gboolean compositorManageScreen (ScreenInfo *);
53 void compositorUnmanageScreen (ScreenInfo *);
54 void compositorAddAllWindows (ScreenInfo *);
55 gboolean compositorActivateScreen (ScreenInfo *,
56 gboolean);
57 void compositorUpdateScreenSize (ScreenInfo *);
59 void compositorWindowSetOpacity (DisplayInfo *,
60 Window,
61 guint);
62 void compositorRebuildScreen (ScreenInfo *);
63 gboolean compositorTestServer (DisplayInfo *);
65 #endif /* INC_COMPOSITOR_H */