[mutter/wip/surface-content: 1/8] compositor: Remove atom_x_root_pixmap
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/surface-content: 1/8] compositor: Remove atom_x_root_pixmap
- Date: Fri, 6 Dec 2013 20:22:47 +0000 (UTC)
commit ab2fca97fde9b6c42224f1ae88415e2117d5abcf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 6 13:34:08 2013 -0500
compositor: Remove atom_x_root_pixmap
It's unused
src/compositor/compositor-private.h | 1 -
src/compositor/compositor.c | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 0ebf3a4..494a77b 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -17,7 +17,6 @@ struct _MetaCompositor
{
MetaDisplay *display;
- Atom atom_x_root_pixmap;
Atom atom_net_wm_window_opacity;
guint repaint_func_id;
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index eaefa32..e6eaff8 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -1650,7 +1650,6 @@ MetaCompositor *
meta_compositor_new (MetaDisplay *display)
{
char *atom_names[] = {
- "_XROOTPMAP_ID",
"_NET_WM_WINDOW_OPACITY",
};
Atom atoms[G_N_ELEMENTS(atom_names)];
@@ -1676,7 +1675,6 @@ meta_compositor_new (MetaDisplay *display)
G_CALLBACK (on_shadow_factory_changed),
compositor);
- compositor->atom_x_root_pixmap = atoms[0];
compositor->atom_net_wm_window_opacity = atoms[1];
compositor->repaint_func_id = clutter_threads_add_repaint_func (meta_repaint_func,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]