mutter/src
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
..
themes removed hide_buttons. Closes #360498. 2006-10-07 21:19:40 +00:00
tools Patch from Kjartan Maraas to fix a lot of tiny issues (unused variable 2006-01-20 22:03:56 +00:00
wm-tester Patch from Kjartan Maraas to fix a lot of tiny issues (unused variable 2006-01-20 22:03:56 +00:00
.cvsignore Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
api.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
api.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
async-getprop.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
async-getprop.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
bell.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
bell.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
boxes.c Patch from Carlo Wood to do some miscellaneous code cleanups found while 2007-04-03 18:40:00 +00:00
boxes.h Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
c-screen.c Remove double unref of stacker object. Fixes #387761. 2007-01-02 14:09:45 +00:00
c-screen.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
c-window.c Disabled bling for now; added function for handling CirculateNotify 2006-12-21 05:12:34 +00:00
c-window.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
colors.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
colors.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
common.h Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
compositor.c Removed #ifdef SPIFFY_COMPOSITOR throughout the file. Replaced with check 2007-01-16 17:02:39 +00:00
compositor.h Disabled bling for now; added function for handling CirculateNotify 2006-12-21 05:12:34 +00:00
constraints.c Fix lots of little issues with min/max constraints and size increment 2007-04-04 21:54:56 +00:00
constraints.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
core.c Move "On Top" option in menu. Fix #382962. 2006-12-27 15:51:49 +00:00
core.h Fix cases when titlebar is allowed offscreen and shouldn't be (and 2006-10-13 00:28:34 +00:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
delete.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
display.c _NET_ACTIVE_WINDOW is a single xwindow id, not two. 2007-04-03 22:26:47 +00:00
display.h Add support for _NET_WM_USER_TIME_WINDOW in order to cut down on context 2007-03-31 05:19:41 +00:00
draw-workspace.c Patch from Bruno Boaventura to sync metacity workspace previews with 2006-10-10 18:19:32 +00:00
draw-workspace.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
edge-resistance.c Avoid some crashes when dragging windows partially offscreen. Possible (or 2007-04-03 19:56:34 +00:00
edge-resistance.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
effects.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
effects.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
errors.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
errors.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
eventqueue.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
eventqueue.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
fixedtip.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
fixedtip.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
frame.c Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
frame.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
frames.c adjusted the rounded corners so that they fit nicely with the arcs around 2007-03-21 02:22:10 +00:00
frames.h Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
gradient.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
gradient.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
group-private.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
group-props.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
group-props.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
group.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
group.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
iconcache.c Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
iconcache.h Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
keybindings.c turn mouse_mode off to prevent focus issues with the run application 2007-04-03 20:19:12 +00:00
keybindings.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
libmetacity-private.pc.in add a pc file for libmetacity-private 2002-11-07 22:09:59 +00:00
main.c remove deprecated gtk stuff. 2006-11-05 23:03:36 +00:00
main.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
Makefile.am Kill usage of libegg. #348633. 2006-07-26 02:06:17 +00:00
menu.c Move "On Top" option in menu. Fix #382962. 2006-12-27 15:51:49 +00:00
menu.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
metaaccellabel.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
metaaccellabel.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
metacity-dialog.c Change dialog icon because gnome-icon-theme have no more 2007-01-27 04:18:15 +00:00
metacity-Xatomtype.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
metacity.desktop.in Patch from Stephane LOEUILLET in bug #151850. 2005-01-25 18:27:43 +00:00
metacity.schemas.in add action_{middle|right}_click_titlebar. Closes #408903. 2007-03-11 02:39:07 +00:00
place.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
place.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
prefs.c honour preferences. new functions. 2007-03-10 01:15:14 +00:00
prefs.h honour preferences. new functions. 2007-03-10 01:15:14 +00:00
preview-widget.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
preview-widget.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
resizepopup.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
resizepopup.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
run-metacity.sh Merge reduced_resources mode patch from the branch. Offers wireframe and 2003-10-12 06:25:38 +00:00
screen.c Clean up event mask handling and meta_create_offscreen_window, to prevent 2007-03-31 23:34:36 +00:00
screen.h Clean up event mask handling and meta_create_offscreen_window, to prevent 2007-03-31 23:34:36 +00:00
session.c Clean up event mask handling and meta_create_offscreen_window, to prevent 2007-03-31 23:34:36 +00:00
session.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
spring-model.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
spring-model.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
stack.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
stack.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00: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
tabpopup.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
tabpopup.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
testasyncgetprop.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
testboxes.c Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
testgradient.c remove deprecated gtk stuff. 2006-11-05 23:03:36 +00:00
theme-parser.c Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
theme-parser.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
theme-viewer.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
theme.c Fallback to NORMAL state after checking for the middle button. Fixes bug 2007-04-01 15:31:24 +00:00
theme.h Added "above" to the list of flags a frame can have, so that we know when 2006-10-07 16:56:47 +00:00
themewidget.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
themewidget.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
ui.c Remove #include <pango/pangox.h> since it's apparently not installed 2007-03-17 08:40:02 +00:00
ui.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
util.c Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
util.h Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
window-props.c Fix lots of little issues with min/max constraints and size increment 2007-04-04 21:54:56 +00:00
window-props.h Add support for _NET_WM_USER_TIME_WINDOW in order to cut down on context 2007-03-31 05:19:41 +00:00
window.c Fix lots of little issues with min/max constraints and size increment 2007-04-04 21:54:56 +00:00
window.h Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
workspace.c Patch from Carlo Wood to fix handling of unidirectional maximization and 2007-04-03 03:41:10 +00:00
workspace.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
xprops.c Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00
xprops.h Stick an emacs comment directive at the beginning of all the code files so 2006-10-01 22:30:10 +00:00