mutter/src
Elijah Newren 9516694385 Allow edge resistance at both sides of a window and also when edges don't
2006-01-09  Elijah Newren  <newren@gmail.com>

	Allow edge resistance at both sides of a window and also when
	edges don't overlap but are a single pixel away from doing so.
	Fixes one of the zillions of issues covered in #321905.

	* src/boxes.[ch]:
	(meta_rectangle_edges_align):
	new function to handle the overlap or off by one determining
	whether edge resistance should kick in for an edge.

	(meta_rectangle_edge_cmp_ignore_type):
	new function to sort edges but ignore the type so that e.g. left &
	right edges of windows can be used interchangeably.

	(meta_rectangle_edge_cmp):
	now uses meta_rectangle_edge_cmp_ignore_type() to do most the work
	and just adds an extra condition

	* src/edge-resistance.c:
	(find_nearest_position):
	use meta_rectangle_edges_align() now to determine whether the
	edges align,

	(apply_edge_resistance, apply_edge_resistance_to_each_side):
	have the edge resistance kick in if either the beginning or ending
	positions would cause overlap in the given direction -- fixes an
	uncommon but annoying corner case,

	(apply_edge_snapping, apply_edge_resistance_to_each_side,
	 meta_display_cleanup_edges,
	 stupid_sort_requiring_extra_pointer_dereference, cache_edges):
	mix edges from both sides now
2006-01-10 04:33:58 +00:00
..
themes Make the unfocussed Simple window border visible with high contrast 2005-10-13 05:51:24 +00:00
tools Remove deprecated capplet from GNOME 2.0 2004-12-13 19:00:14 +00:00
wm-tester add test-size-hints to cvsignore 2003-12-19 23:37:23 +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 ... 2001-06-03 21:39:57 +00:00
api.h ... 2001-06-03 21:39:57 +00:00
async-getprop.c attempt to fix this to return the data as an array of long even on 64-bit 2003-09-29 22:17:16 +00:00
async-getprop.h new function (meta_prop_get_wm_hints): new function 2002-10-26 16:40:50 +00:00
bell.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
bell.h include Xlib.h before XKBlib.h which is required on Solaris. #111877 from 2003-04-29 22:07:47 +00:00
boxes.c Allow edge resistance at both sides of a window and also when edges don't 2006-01-10 04:33:58 +00:00
boxes.h Allow edge resistance at both sides of a window and also when edges don't 2006-01-10 04:33:58 +00:00
colors.c ... 2001-06-03 18:33:59 +00:00
colors.h ... 2001-06-03 18:33:59 +00:00
common.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
compositor.c compile with compositor enabled 2005-12-14 12:47:35 +00:00
compositor.h fix up compositing manager to somewhat work 2003-11-30 03:30:27 +00:00
constraints.c Patch from Jens Granseuer to fix build with gcc 2.95. #322622. 2006-01-02 18:37:46 +00:00
constraints.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
core.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
core.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
delete.c compile with compositor enabled 2005-12-14 12:47:35 +00:00
display.c Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
display.h Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
draw-workspace.c workspace-drawing code factored out of libwnck, needs wiring up to 2002-06-15 22:18:12 +00:00
draw-workspace.h workspace-drawing code factored out of libwnck, needs wiring up to 2002-06-15 22:18:12 +00:00
edge-resistance.c Allow edge resistance at both sides of a window and also when edges don't 2006-01-10 04:33:58 +00:00
edge-resistance.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
effects.c Improve the behavior of keyboard move/resize and edge snapping. Still not 2005-08-03 02:22:00 +00:00
effects.h Actually commit the stuff mentioned in the last ChangeLog entry. 2005-05-26 19:58:17 +00:00
eggaccelerators.c update from libegg to get fix from Ralph Loader for <Super> <Hyper> <Meta> 2002-09-30 03:58:41 +00:00
eggaccelerators.h adapt to virtual modifiers (meta_display_process_mapping_event): we need 2002-07-14 03:16:41 +00:00
errors.c remove XSync calls from here (meta_display_ungrab): remove XSync from 2002-11-04 00:56:12 +00:00
errors.h Optimizations for managing new windows (do not all take effect if 2002-10-21 21:44:35 +00:00
eventqueue.c Merge fix for bug #320050 from stable. 2005-10-29 07:37:45 +00:00
eventqueue.h ... 2001-06-20 03:01:26 +00:00
fixedtip.c Patch from John Paul Wallington to keep tooltip on screen horizontally for 2005-01-26 20:56:15 +00:00
fixedtip.h Add multi-screen support. Also add patch by Erwann Chenede to make 2002-05-08 16:24:28 +00:00
frame.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
frame.h Reinstated visual-bell patch, fix for bug 99886. 2003-01-28 15:07:43 +00:00
frames.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
frames.h Add a cache of pixmaps for recently exposed frame areas. Makes metacity a 2005-06-26 21:58:37 +00:00
gradient.c Add my copyright notice to a number of files on which it should already 2005-10-08 19:38:54 +00:00
gradient.h now just uses meta_gradient_add_alpha (draw_op_as_pixbuf): implement alpha 2002-05-31 21:18:11 +00:00
group-private.h lengthen to 15 seconds 2002-12-01 03:58:04 +00:00
group-props.c lengthen to 15 seconds 2002-12-01 03:58:04 +00:00
group-props.h lengthen to 15 seconds 2002-12-01 03:58:04 +00:00
group.c Add my copyright notice to a number of files on which it should already 2004-02-23 01:48:29 +00:00
group.h Precompute groups to guarantee that meta_group_list_windows always returns 2003-06-04 19:15:46 +00:00
iconcache.c A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +00:00
iconcache.h port to icon cache 2002-02-09 23:03:52 +00:00
keybindings.c Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
keybindings.h Fixes not being able to tab out of a workspace which contains no windows. 2002-06-27 05:08:32 +00:00
libmetacity-private.pc.in add a pc file for libmetacity-private 2002-11-07 22:09:59 +00:00
main.c Plug a few leaks. Fixes #309178. 2006-01-10 04:18:09 +00:00
main.h add a restart feature, for debugging 2001-10-15 04:14:58 +00:00
Makefile.am Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
menu.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
menu.h Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +00:00
metaaccellabel.c use MetaAccelLabel to display accelerators for the menu items 2002-09-27 01:40:17 +00:00
metaaccellabel.h use MetaAccelLabel to display accelerators for the menu items 2002-09-27 01:40:17 +00:00
metacity-dialog.c Add my copyright notice to a number of files on which it should already 2005-10-08 19:38:54 +00:00
metacity-Xatomtype.h new function (meta_prop_get_wm_hints): new function 2002-10-26 16:40:50 +00:00
metacity.desktop.in Patch from Stephane LOEUILLET in bug #151850. 2005-01-25 18:27:43 +00:00
metacity.schemas.in clarify the meaning of the auto_raise preference. Fixes one of the issues 2005-10-03 20:10:56 +00:00
place.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
place.h Improve the behavior of keyboard move/resize and edge snapping. Still not 2005-08-03 02:22:00 +00:00
prefs.c add handling for META_PREF_CURSOR_THEME and META_PREF_CURSOR_SIZE for more 2005-10-25 16:43:01 +00:00
prefs.h React to cursor theme changes: (#308106) 2005-07-11 13:25:08 +00:00
preview-widget.c Button-reordering patch. Has all the code except actually installing a 2002-10-04 02:28:57 +00:00
preview-widget.h Button-reordering patch. Has all the code except actually installing a 2002-10-04 02:28:57 +00:00
resizepopup.c purge HAVE_GTK_MULTIHEAD from the source code, not just from configure.in. 2003-04-21 23:37:42 +00:00
resizepopup.h only create the resize popup if width_inc or height_inc are > 1 2002-10-18 22:37:01 +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 Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
screen.h Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
session.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
session.h Session saves the unmaximized postion, size of a maximized window. #86059 2002-09-04 02:44:52 +00:00
stack.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
stack.h Add my copyright notice to a number of files on which it should already 2005-10-08 19:38:54 +00:00
stock_delete.png Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +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 since the title is going to be treated as markup, escape it. Fixes 2005-12-27 16:40:47 +00:00
tabpopup.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
testasyncgetprop.c remove nonstandard header include, #121870 2003-09-30 20:05:35 +00:00
testboxes.c Patch from Jens Granseuer to fix build with gcc 2.95. #322622. 2006-01-02 18:37:46 +00:00
testgradient.c use MetaMenuIconType not button type for the size of the menu ops array 2002-08-04 20:02:45 +00:00
theme-parser.c Patch from Brent Smith to fix a duplicate string. Fixes #309774. 2005-08-08 21:31:31 +00:00
theme-parser.h disable custom log handler and fatal mask for now 2002-02-07 03:07:56 +00:00
theme-viewer.c Gettextize metacity-theme-viewer. #121747 2003-10-15 16:04:12 +00:00
theme.c Patch from Ken Harris to provide a more lenient threshold for drawing 2005-07-14 21:00:26 +00:00
theme.h Add _NET_FRAME_EXTENTS and _NET_REQUEST_FRAME_EXTENTS. 2004-01-10 17:16:07 +00:00
themewidget.c disable custom log handler and fatal mask for now 2002-02-07 03:07:56 +00:00
themewidget.h disable custom log handler and fatal mask for now 2002-02-07 03:07:56 +00:00
ui.c Fix some uninitialized variable errors reported by valgrind (see #153338) 2004-09-22 18:57:36 +00:00
ui.h Add _NET_FRAME_EXTENTS and _NET_REQUEST_FRAME_EXTENTS. 2004-01-10 17:16:07 +00:00
update-from-egg.sh steal from profterm to fix build 2002-07-15 14:18:51 +00:00
util.c Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
util.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
window-props.c display hostname in titlebar for remote X clients. Closes bug #322202. 2005-11-23 17:08:03 +00:00
window-props.h Initialize size_hints on window creation using code shared with size_hints property reload 2003-04-26 17:40:32 +00:00
window.c Patch from Björn Lindqvist to fix a logic error. #322149. 2006-01-02 18:48:30 +00:00
window.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
workspace.c Make the workspace switcher work with dual-head (non-xinerama) setups. 2005-12-28 06:24:30 +00:00
workspace.h Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
xprops.c Truncate ridiculously long titles to avoid crashing or letting the pager 2005-10-03 18:13:45 +00:00
xprops.h Truncate ridiculously long titles to avoid crashing or letting the pager 2005-10-03 18:13:45 +00:00