summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRob Adams <robadams@ucla.edu>2003-06-04 19:15:46 +0000
committerRob Adams <readams@src.gnome.org>2003-06-04 19:15:46 +0000
commit993c7075f3cbcaf59b74233ddc298e1d13634f8c (patch)
treea433cf451c4a592d10ff231609a4713f317f7798 /ChangeLog
parent4469a42a77601c9031d01050eca7db220b75445b (diff)
downloadmetacity-993c7075f3cbcaf59b74233ddc298e1d13634f8c.tar.gz
Precompute groups to guarantee that meta_group_list_windows always returns
2003-06-04 Rob Adams <robadams@ucla.edu> Precompute groups to guarantee that meta_group_list_windows always returns the correct list of windows. See Bug #96973 * src/window.h: change cached_group variable to group * src/window.c (meta_window_new): change cached_group to group and call meta_window_compute_group * src/groups.c (meta_window_get_group): simply return window->group rather than computing it and returning window->cached_group (meta_window_compute_group): new function computes window->group. Designed to be called once from meta_window_new (remove_window_from_group): change cached_group to group (meta_window_group_leader_changed): call meta_window_compute_group instead of meta_window_get_group
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eb248885..779284db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,7 +13,9 @@
window->cached_group
(meta_window_compute_group): new function computes window->group.
Designed to be called once from meta_window_new
- (remove_window_from_group): change cached_group to group
+ (remove_window_from_group): change cached_group to group
+ (meta_window_group_leader_changed): call meta_window_compute_group
+ instead of meta_window_get_group
2003-05-29 Rob Adams <robadams@ucla.edu>