summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.c
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2010-09-30 18:35:12 +0200
committerAdel Gadllah <adel.gadllah@gmail.com>2010-09-30 18:35:12 +0200
commitf2ccf70f8dc19604dcd52892f3269461165cd293 (patch)
tree02e15f186c05736dc7d5dbfbc6d87953d33a9ef2 /src/compositor/compositor.c
parentff04e383261330395a2e53fb4060ef26f9fa010c (diff)
downloadmutter-f2ccf70f8dc19604dcd52892f3269461165cd293.tar.gz
mutter-window: Don't track the window type twice
Currently mutter-window has its own type field, even though the same information is already present in meta_window. And while at it get rid of MetaCompWindowType, it is equally redundant. https://bugzilla.gnome.org/show_bug.cgi?id=630363
Diffstat (limited to 'src/compositor/compositor.c')
-rw-r--r--src/compositor/compositor.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 918859daf..80435ab81 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -150,13 +150,7 @@ process_property_notify (MetaCompositor *compositor,
DEBUG_TRACE ("process_property_notify: net_wm_window_opacity\n");
return;
}
- else if (event->atom == meta_display_get_atom (display,
- META_ATOM__NET_WM_WINDOW_TYPE))
- {
- mutter_window_update_window_type (cw);
- DEBUG_TRACE ("process_property_notify: net_wm_type\n");
- return;
- }
+
DEBUG_TRACE ("process_property_notify: unknown\n");
}