mutter/src
Owen W. Taylor 2a823ef3e4 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
2010-02-09 17:00:20 -05:00
..
compositor Do not use CGL_* symbols 2010-01-19 01:34:22 +00:00
core Fix crash when struts change during grab operation 2010-02-09 17:00:20 -05:00
include Fix handling of SIGCHLD 2009-11-20 11:15:58 -05:00
tools Stop using gtk_toolbar_insert_stock() 2009-08-26 12:57:29 -04:00
ui Stop using gtk_toolbar_insert_stock() 2009-08-26 12:57:29 -04:00
wm-tester Fix typo in test-resizing.c 2009-11-19 17:40:50 -05:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
libmutter-private.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
Makefile.am [introspection] Include xlib.gir 2010-02-03 14:17:41 -05:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-marshal.list Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-plugins.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter-wm.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.schemas.in Fix Super_L specification for overlay_key 2009-09-07 14:27:09 -04:00
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
stock_delete.png Update the pixmap to a new one which fit better with the other pixmaps of 2006-08-20 19:44:52 +00:00
stock_maximize.png Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +00:00
stock_minimize.png Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +00:00