Elijah Newren 57bedc42a4 Add a constrain_titlebar_visible constraint; should fix both bug 333328
2006-08-07  Elijah Newren  <newren gmail com>

	Add a constrain_titlebar_visible constraint; should fix both bug
	333328 and bug 345522.  Not perfect (minor annoying snap pulling
	windows back onscreen, plus an ugly hack almost as bad as the old
	one), but tarballs are due in less than half an hour.  ;-)

	* src/boxes.[ch] (meta_rectangle_overlaps_with_region):
	new function

	* src/constraints.c (constrain_titlebar_visible): new function,
	  (enum ConstraintPriority, array all_constraints,
	  update_onscreen_requirements): various small changes to
	  accomodate the new function

	* src/edge-resistance.c: remove the infinite edge resistance,
	which was a big hack of a way to workaround the lack of a
	titlebar_visible constraint

	* src/window.[ch] (MetaWindow): new require_titlebar_visible
	bitfield, (meta_window_new_with_attrs): initialized here
2006-08-07 23:34:55 +00:00
..
...
2001-06-03 21:39:57 +00:00
...
2001-06-03 21:39:57 +00:00
2006-04-13 13:16:42 +00:00
2006-04-13 13:16:42 +00:00
2006-05-26 20:50:34 +00:00
2006-05-26 20:50:34 +00:00
...
2001-06-03 18:33:59 +00:00
...
2001-06-03 18:33:59 +00:00
2006-05-26 20:50:34 +00:00
2006-05-25 14:40:50 +00:00
2005-12-14 12:47:35 +00:00
2006-05-26 20:50:34 +00:00
2006-05-26 20:50:34 +00:00
...
2001-06-20 03:01:26 +00:00
2002-12-01 03:58:04 +00:00
2006-08-04 22:33:42 +00:00
2002-12-01 03:58:04 +00:00
2002-02-09 23:03:52 +00:00
2001-10-15 04:14:58 +00:00
2006-07-26 02:06:17 +00:00
2006-05-15 06:59:30 +00:00
2006-02-16 20:26:05 +00:00
2006-05-25 14:40:50 +00:00
2006-04-13 13:16:42 +00:00
2006-04-13 13:16:42 +00:00
2006-07-26 02:06:17 +00:00
2006-05-04 17:32:26 +00:00
2006-04-13 13:16:42 +00:00