2009-06-25 18:56:15 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
|
|
|
#ifndef META_COMPOSITOR_PRIVATE_H
|
|
|
|
#define META_COMPOSITOR_PRIVATE_H
|
|
|
|
|
2009-06-26 15:33:20 -04:00
|
|
|
#include <X11/extensions/Xfixes.h>
|
|
|
|
|
2009-06-25 18:56:15 -04:00
|
|
|
#include "compositor.h"
|
|
|
|
#include "display.h"
|
2009-06-26 15:33:20 -04:00
|
|
|
#include "mutter-plugin-manager.h"
|
2009-06-25 18:56:15 -04:00
|
|
|
#include <clutter/clutter.h>
|
|
|
|
|
2009-06-26 15:33:20 -04:00
|
|
|
typedef struct _MetaCompScreen MetaCompScreen;
|
|
|
|
|
2009-06-25 18:56:15 -04:00
|
|
|
struct _MetaCompositor
|
|
|
|
{
|
|
|
|
MetaDisplay *display;
|
|
|
|
|
|
|
|
Atom atom_x_root_pixmap;
|
|
|
|
Atom atom_x_set_root;
|
|
|
|
Atom atom_net_wm_window_opacity;
|
2009-06-28 12:26:23 -04:00
|
|
|
guint repaint_func_id;
|
2009-06-25 18:56:15 -04:00
|
|
|
|
|
|
|
ClutterActor *shadow_src;
|
|
|
|
|
|
|
|
gboolean show_redraw : 1;
|
|
|
|
gboolean debug : 1;
|
|
|
|
gboolean no_mipmaps : 1;
|
|
|
|
};
|
|
|
|
|
2009-06-26 15:33:20 -04:00
|
|
|
struct _MetaCompScreen
|
|
|
|
{
|
|
|
|
MetaScreen *screen;
|
|
|
|
|
|
|
|
ClutterActor *stage, *window_group, *overlay_group;
|
|
|
|
ClutterActor *hidden_group;
|
|
|
|
GList *windows;
|
|
|
|
GHashTable *windows_by_xid;
|
|
|
|
MetaWindow *focus_window;
|
|
|
|
Window output;
|
|
|
|
|
|
|
|
/* Before we create the output window */
|
|
|
|
XserverRegion pending_input_region;
|
|
|
|
|
|
|
|
gint switch_workspace_in_progress;
|
|
|
|
|
|
|
|
MutterPluginManager *plugin_mgr;
|
|
|
|
};
|
|
|
|
|
|
|
|
void mutter_switch_workspace_completed (MetaScreen *screen);
|
|
|
|
void mutter_set_stage_input_region (MetaScreen *screen,
|
|
|
|
XserverRegion region);
|
|
|
|
void mutter_empty_stage_input_region (MetaScreen *screen);
|
|
|
|
|
2009-06-25 18:56:15 -04:00
|
|
|
#endif /* META_COMPOSITOR_PRIVATE_H */
|