summaryrefslogtreecommitdiff
path: root/po/zh_CN.po
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-02-09 16:44:16 -0500
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-07-21 16:16:48 +0300
commitde4ff7076434061e0872144e423da7d6841a623b (patch)
tree987874f1a84cabd52e25245429ef47c5b18c2f40 /po/zh_CN.po
parent04f3e5fd98a076b251920e46471f5060f23ea0af (diff)
downloadmetacity-de4ff7076434061e0872144e423da7d6841a623b.tar.gz
Fix crash when struts change during grab operation
Since meta_workspace_invalidate_work_area() frees the edges workspace->screen_edges and workspace->monitor_edges, we must clean up our cached edge resistance data when the invalidate_work_area() is called on the active workspace, or when the workspace changes. Make the computation of the edge resistance data lazy so that it will be recomputed the next time we try to access it. meta_display_compute_resistance_and_snapping_edges() is made private to edge-resistance.c Invaliding the data when active workspace changes also will improve correctness for edge resistance when the current workspace changes during a grab operation. (Even with this fix we still don't try to handle window positions changing during a grab operation; that can't cause a crash since, unlike screen and monitor edges, the window edges are freshly allocated, it will just cause slight oddness in that corner case.) Root cause tracked down due to much effort by Jon Nettleton. https://bugzilla.gnome.org/show_bug.cgi?id=608800 (Mutter) https://bugzilla.gnome.org/show_bug.cgi?id=603632 (Metacity)
Diffstat (limited to 'po/zh_CN.po')
0 files changed, 0 insertions, 0 deletions