mutter/src
Ray Strode 2972ab6df6 Improve the behavior of keyboard move/resize and edge snapping. Still not
2005-08-03  Ray Strode  <rstrode@redhat.com>

	Improve the behavior of keyboard move/resize and edge
	snapping.  Still not perfect, bug 310888.

	* src/effects.c (draw_xor_rect): Make the outside of a
	wireframe rectangle line up with the outside edge of its
	window, instead of centering the wireframe edges on the
	window edges.

	* src/keybindings.c (process_keyboard_move_grab): allow
	edge snapping in wireframe mode.  Adjust code to take
	into account changed semantics of find_next_*_edge
	functions.
	(process_keyboard_resize_grab_op_change): new function
	to take some orthogonal logic out of
	process_keyboard_resize_grab_op.  Only allow keyboard
	resize cursor to go to flat edges, not corners.
	(process_keyboard_resize_grab):  allow edge snapping in
	wireframe mode.  Fix up snapping logic.

	* src/place.c (get_{vertical,horizontal}_edges): use
	GArray instead of int *, since the number of output
	edges isn't known until the middle of the function now.
	Use xor rect extents instead of window extends if in
	wireframe mode.
	(meta_window_find_next_{vertical,horizontal}_edge: add
	new source_edge_position parameter to specify which edge
	on the active window to start from when looking for next
	edge on the screen. Return the coordinate of the edge
	found and not the coordinate of where the window should be
	moved to snap to where the edge was found.

	* src/window.c (update_move): all the user to specify
	an edge to resize with mouse in keyboard resize mode.
	window
2005-08-03 02:22:00 +00:00
..
themes src/themes/Atlanta/metacity-theme-1.xml: 2005-01-31 09:54:34 +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 and especially you. 2002-11-26 12:22:39 +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 Prevent the visual bell from changing the focus window. Fixes #123366. 2005-02-25 20:14:08 +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
colors.c ... 2001-06-03 18:33:59 +00:00
colors.h ... 2001-06-03 18:33:59 +00:00
common.h Add a timestamp argument to menu functions and use it in 2004-06-21 16:47:27 +00:00
compositor.c A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +00:00
compositor.h fix up compositing manager to somewhat work 2003-11-30 03:30:27 +00:00
constraints.c Add my copyright notice to a number of files on which it should already 2004-02-23 01:48:29 +00:00
constraints.h disable animation when shading windows, just doesn't really convey the 2002-08-06 04:11:23 +00:00
core.c Rename meta_window_visible_on_workspace to 2004-12-23 00:20:33 +00:00
core.h Fix a variety of focus race conditions in all focus modes, or at least 2004-10-04 20:32:59 +00:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
delete.c Make dialogs that Metacity shows follow focus-stealing-prevention 2004-08-26 00:59:12 +00:00
display.c React to cursor theme changes: (#308106) 2005-07-11 13:25:08 +00:00
display.h React to cursor theme changes: (#308106) 2005-07-11 13:25:08 +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
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 ... 2001-06-20 03:01:26 +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 Don't try to use an ARGB visual at all if the depth isn't 32-bit. This 2004-10-19 05:18:11 +00:00
frame.h Reinstated visual-bell patch, fix for bug 99886. 2003-01-28 15:07:43 +00:00
frames.c Add a cache of pixmaps for recently exposed frame areas. Makes metacity a 2005-06-26 21:58:37 +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 Fix a slight bug (causing possible miscoloring of parts of the titlebar) 2005-07-13 18:24:56 +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 Improve the behavior of keyboard move/resize and edge snapping. Still not 2005-08-03 02:22:00 +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 Patch from Björn Lindqvist to split up main() into more manageable chunks 2005-07-12 20:54:34 +00:00
main.h add a restart feature, for debugging 2001-10-15 04:14:58 +00:00
Makefile.am Install schema data from builddir not srcdir. 2005-01-03 23:50:10 +00:00
menu.c Try 2 to correct misleading and inaccurate wording. Hopefully, really 2005-01-31 20:41:33 +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 Patch from Jaap Haitsma to make sure that Metacity dialogs have icons. 2005-07-30 15:18:01 +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 Change default theme from "Simple" to "Clearlooks". 2005-08-01 14:56:24 +00:00
place.c Improve the behavior of keyboard move/resize and edge snapping. Still not 2005-08-03 02:22:00 +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 React to cursor theme changes: (#308106) 2005-07-11 13:25:08 +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 free ->xinerama_infos Closes bug#307884 2005-07-12 19:01:38 +00:00
screen.h React to cursor theme changes: (#308106) 2005-07-11 13:25:08 +00:00
session.c Make sure the save session dialog appears focused. Fixes #162983. 2005-01-07 05:19:26 +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 use only the expected_focus_window instead of both the focused_window and 2005-08-01 04:58:58 +00:00
stack.h Treat splashscreens same as other windows for stacking. Fixes #165243. 2005-01-27 18:28:06 +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 Removed useless function call. #166730 2005-02-09 16:07:56 +00:00
tabpopup.h Show labels in bold for windows that demand attention. Fixes #164590. 2005-01-20 16:41:29 +00:00
testasyncgetprop.c remove nonstandard header include, #121870 2003-09-30 20:05:35 +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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +00:00
util.h change to track all children of the root window, not only mapped children; 2003-12-26 00:05:26 +00:00
window-props.c Big patch to cover about 6 different issues in order to correct rare 2005-02-20 17:14:16 +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 Improve the behavior of keyboard move/resize and edge snapping. Still not 2005-08-03 02:22:00 +00:00
window.h Actually commit the stuff mentioned in the last ChangeLog entry. 2005-05-26 19:58:17 +00:00
workspace.c Handle keynav vs. mousenav in mouse and sloppy focus modes. Fixes #167545. 2005-02-22 02:11:25 +00:00
workspace.h Partially resolve the conflicting requirements of windows on multiple 2004-12-22 23:52:52 +00:00
xprops.c Prevent using the address of a local variable as a hash key. (Bug #307209) 2005-06-11 02:28:04 +00:00
xprops.h Fix bug 143333, support for update counter spec, and 109362, schedule 2004-06-19 00:45:24 +00:00