Load NET_WM_USER_TIME from the right window

On subsequent changes, if there is a NET_WM_USER_TIME_WINDOW, then
read the property from that rather than from the main window.
(Fix an accidental regression: the right Window was being computed
but no longer passed in.)

http://bugzilla.gnome.org/show_bug.cgi?id=585979
This commit is contained in:
Owen W. Taylor 2009-06-15 23:50:13 -04:00
parent 3e2fcf4acd
commit 820970328b

View File

@ -5888,7 +5888,7 @@ process_property_notify (MetaWindow *window,
xid = window->user_time_window;
}
meta_window_reload_property (window, event->atom, FALSE);
meta_window_reload_property_from_xwindow (window, xid, event->atom, FALSE);
return TRUE;
}