mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
compositor: Remove atom_x_root_pixmap
It's unused https://bugzilla.gnome.org/show_bug.cgi?id=720106
This commit is contained in:
parent
5a63aaa5ac
commit
93a8933282
@ -17,7 +17,6 @@ struct _MetaCompositor
|
|||||||
{
|
{
|
||||||
MetaDisplay *display;
|
MetaDisplay *display;
|
||||||
|
|
||||||
Atom atom_x_root_pixmap;
|
|
||||||
Atom atom_net_wm_window_opacity;
|
Atom atom_net_wm_window_opacity;
|
||||||
guint repaint_func_id;
|
guint repaint_func_id;
|
||||||
|
|
||||||
|
@ -1509,7 +1509,6 @@ MetaCompositor *
|
|||||||
meta_compositor_new (MetaDisplay *display)
|
meta_compositor_new (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
char *atom_names[] = {
|
char *atom_names[] = {
|
||||||
"_XROOTPMAP_ID",
|
|
||||||
"_NET_WM_WINDOW_OPACITY",
|
"_NET_WM_WINDOW_OPACITY",
|
||||||
};
|
};
|
||||||
Atom atoms[G_N_ELEMENTS(atom_names)];
|
Atom atoms[G_N_ELEMENTS(atom_names)];
|
||||||
@ -1535,8 +1534,7 @@ meta_compositor_new (MetaDisplay *display)
|
|||||||
G_CALLBACK (on_shadow_factory_changed),
|
G_CALLBACK (on_shadow_factory_changed),
|
||||||
compositor);
|
compositor);
|
||||||
|
|
||||||
compositor->atom_x_root_pixmap = atoms[0];
|
compositor->atom_net_wm_window_opacity = atoms[0];
|
||||||
compositor->atom_net_wm_window_opacity = atoms[1];
|
|
||||||
|
|
||||||
compositor->repaint_func_id = clutter_threads_add_repaint_func (meta_repaint_func,
|
compositor->repaint_func_id = clutter_threads_add_repaint_func (meta_repaint_func,
|
||||||
compositor,
|
compositor,
|
||||||
|
Loading…
Reference in New Issue
Block a user