Elijah Newren
921661e91d
Fix lots of little issues with min/max constraints and size increment
...
2004-04-04 Elijah Newren <newren gmail com>
Fix lots of little issues with min/max constraints and size
increment constraints. Fixes #329152 , #418395 , and possibly
others.
* src/window-props.c (meta_set_normal_hints):
Do more checking to make sure application specified constraints
are self-consistent, modifying the size_hints as necessary to
achieve self-consistency.
* src/constraints.c (setup_constraint_info): remove ugly
copy-pasto, (constrain_size_increments): be careful that fixing
violation of the constraints doesn't cause a violation of the
minimum size constraints.
* src/window.c (ensure_size_hints_satisfied): new function,
(meta_window_unmaximize, meta_window_unmake_fullscreen): the
saved_rect may no longer be valid (as in the case of #329152 ) so
call ensure_size_hints_satisfied to fix it up.
* doc/how-to-get-focus-right.txt: Some minor spacing and wording
fixes completely unrelated to the rest of this commit
svn path=/trunk/; revision=3155
2007-04-04 21:54:56 +00:00
..
2006-10-07 21:19:40 +00:00
2006-01-20 22:03:56 +00:00
2006-01-20 22:03:56 +00:00
2005-11-19 14:58:50 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 18:40:00 +00:00
2007-04-03 03:41:10 +00:00
2007-01-02 14:09:45 +00:00
2006-10-01 22:30:10 +00:00
2006-12-21 05:12:34 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 03:41:10 +00:00
2007-01-16 17:02:39 +00:00
2006-12-21 05:12:34 +00:00
2007-04-04 21:54:56 +00:00
2006-10-01 22:30:10 +00:00
2006-12-27 15:51:49 +00:00
2006-10-13 00:28:34 +00:00
2005-01-25 18:47:57 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 22:26:47 +00:00
2007-03-31 05:19:41 +00:00
2006-10-10 18:19:32 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 19:56:34 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-07 16:56:47 +00:00
2006-10-01 22:30:10 +00:00
2007-03-21 02:22:10 +00:00
2006-10-07 16:56:47 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-07 16:56:47 +00:00
2006-10-07 16:56:47 +00:00
2007-04-03 20:19:12 +00:00
2006-10-01 22:30:10 +00:00
2002-11-07 22:09:59 +00:00
2006-11-05 23:03:36 +00:00
2006-10-01 22:30:10 +00:00
2006-07-26 02:06:17 +00:00
2006-12-27 15:51:49 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-01-27 04:18:15 +00:00
2006-10-01 22:30:10 +00:00
2005-01-25 18:27:43 +00:00
2007-03-11 02:39:07 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-03-10 01:15:14 +00:00
2007-03-10 01:15:14 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2003-10-12 06:25:38 +00:00
2007-03-31 23:34:36 +00:00
2007-03-31 23:34:36 +00:00
2007-03-31 23:34:36 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-08-20 19:44:52 +00:00
2002-08-10 16:47:43 +00:00
2002-08-10 16:47:43 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 03:41:10 +00:00
2006-11-05 23:03:36 +00:00
2006-10-07 16:56:47 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-04-01 15:31:24 +00:00
2006-10-07 16:56:47 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2007-03-17 08:40:02 +00:00
2006-10-01 22:30:10 +00:00
2007-04-03 03:41:10 +00:00
2007-04-03 03:41:10 +00:00
2007-04-04 21:54:56 +00:00
2007-03-31 05:19:41 +00:00
2007-04-04 21:54:56 +00:00
2007-04-03 03:41:10 +00:00
2007-04-03 03:41:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00
2006-10-01 22:30:10 +00:00