00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef META_COMPOSITOR_PRIVATE_H
00023 #define META_COMPOSITOR_PRIVATE_H
00024
00025 #include "compositor.h"
00026
00027 struct _MetaCompositor
00028 {
00029 void (* destroy) (MetaCompositor *compositor);
00030
00031 void (*manage_screen) (MetaCompositor *compositor,
00032 MetaScreen *screen);
00033 void (*unmanage_screen) (MetaCompositor *compositor,
00034 MetaScreen *screen);
00035 void (*add_window) (MetaCompositor *compositor,
00036 MetaWindow *window,
00037 Window xwindow,
00038 XWindowAttributes *attrs);
00039 void (*remove_window) (MetaCompositor *compositor,
00040 Window xwindow);
00041 void (*set_updates) (MetaCompositor *compositor,
00042 MetaWindow *window,
00043 gboolean update);
00044 void (*process_event) (MetaCompositor *compositor,
00045 XEvent *event,
00046 MetaWindow *window);
00047 Pixmap (*get_window_pixmap) (MetaCompositor *compositor,
00048 MetaWindow *window);
00049 void (*set_active_window) (MetaCompositor *compositor,
00050 MetaScreen *screen,
00051 MetaWindow *window);
00052 };
00053
00054 #endif