From 10fe91d7044dd53f3c942a89e43288ce1f59c37c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 10 Jul 2014 14:37:17 -0400 Subject: [PATCH] window-props: Don't load WM_STATE Since we don't do anything with it. --- src/x11/window-props.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11/window-props.c b/src/x11/window-props.c index 1d2d95553..a20c8c368 100644 --- a/src/x11/window-props.c +++ b/src/x11/window-props.c @@ -184,8 +184,7 @@ reload_prop_value (MetaWindow *window, MetaPropValue *value, gboolean initial) { - if (hooks && hooks->reload_func != NULL && - !(window->override_redirect && !hooks->include_override_redirect)) + if (!(window->override_redirect && !hooks->include_override_redirect)) (* hooks->reload_func) (window, value, initial); } @@ -1728,7 +1727,6 @@ meta_display_init_window_prop_hooks (MetaDisplay *display) { display->atom__GTK_MENUBAR_OBJECT_PATH, META_PROP_VALUE_UTF8, reload_gtk_menubar_object_path, TRUE, FALSE }, { display->atom__GTK_FRAME_EXTENTS, META_PROP_VALUE_CARDINAL_LIST,reload_gtk_frame_extents, TRUE, FALSE }, { display->atom__NET_WM_USER_TIME_WINDOW, META_PROP_VALUE_WINDOW, reload_net_wm_user_time_window, TRUE, FALSE }, - { display->atom_WM_STATE, META_PROP_VALUE_INVALID, NULL, FALSE, FALSE }, { display->atom__NET_WM_ICON, META_PROP_VALUE_INVALID, reload_net_wm_icon, FALSE, FALSE }, { display->atom__KWM_WIN_ICON, META_PROP_VALUE_INVALID, reload_kwm_win_icon, FALSE, FALSE }, { display->atom__NET_WM_ICON_GEOMETRY, META_PROP_VALUE_CARDINAL_LIST, reload_icon_geometry, FALSE, FALSE },