mutter/src
Elijah Newren 50312dd0e8 Big patch to cover about 6 different issues in order to correct rare
2005-02-20  Elijah Newren  <newren@gmail.com>

	Big patch to cover about 6 different issues in order to correct
	rare problems with timestamps (make sure window selected in
	tasklist actually gets focus, sanity check timestamps to avoid
	rogue apps hosing the system, correct the updating of
	net_wm_user_time, correctly handle timestamps of 0 when comparing
	xserver timestamps for those who have had their systems up for
	over 25 days or so, add some debugging information to verbose
	logs, some code cleanups).  Fixes all issues listed in #167358.

	* src/display.h: (struct _MetaDisplay): clarify comment on
	last_focus_time, introduce a new variable--last_user_time,
	(XSERVER_TIME_IS_BEFORE macro): put this functionality into a
	separate macro and then introduce a new macro with this name that
	uses the old one but adds additional special-case checks for
	timestamps that are 0, (comment to
	meta_display_set_input_focus_window): add information about how
	last_user_time should be used in this function

	* src/display.c (santiy_check_timestamps): new function,
	(meta_display_open): intialize display->last_user_time,
	(meta_display_get_current_time_roundtrip): use the timestamp,
	which is known to be good, in order to sanity_check_timestamps,
	(event_callback): use the new meta_window_ste_user_time() function
	in order to correct problems, use the timestamp of KeyPress and
	ButtonPress events, which are known to be good, in order to
	sanity_check_timestamps, (timestamp_too_old): new function for
	common behavior of meta_display_focus_the_no_focus_window and
	meta_display_set_input_focus_window, with added checking for
	display->last_user_time in addition to display->last_focus_time,
	(meta_display_set_input_focus_window): replace some of the code
	with a call to timestamp_too_old(),
	(meta_display_focus_the_no_focus_window): replace some of th ecode
	with a call to timestamp_too_old()

	* src/window.h: (meta_window_set_user_time): new function to
	abstract the many things that need to be done when updating the
	net_wm_user_time of any window

	* src/window.c: (meta_window_activate): add debugging spew, make
	sure the comparison is made with last_user_time NOT
	last_focus_time, use meta_window_set_user_time() function in order
	to correct problems, (meta_window_client_message): add a newline
	to a debugging message to make them easier to read,
	(meta_window_set_user_time): new function

	* src/window-props.c (reload_net_wm_user_time): use the new
	meta_window_ste_user_time() function in order to correct problems
2005-02-20 17:14:16 +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
api.h
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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +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
colors.h
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 Big patch to cover about 6 different issues in order to correct rare 2005-02-20 17:14:16 +00:00
display.h Big patch to cover about 6 different issues in order to correct rare 2005-02-20 17:14:16 +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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +00:00
effects.h New function. Use it here to synchronize with the hardware between each 2004-08-09 03:40:37 +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 Fix a variety of focus race conditions in all focus modes, or at least 2004-10-04 20:32:59 +00:00
frames.h Patch from Soeren Sandmann #108926 to improve opaque resize 2003-08-16 16:32:10 +00:00
gradient.c now just uses meta_gradient_add_alpha (draw_op_as_pixbuf): implement alpha 2002-05-31 21:18:11 +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 Restore original stacking when aborting an alt-esc window switch 2005-01-24 05:58: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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +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 make this dialog be sticky. Fixes #164745. 2005-01-28 16:49:36 +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 Add period to the end of reduced_resources' description. Fixes #165780. 2005-02-05 03:57:41 +00:00
place.c Avoid new windows being obscured by the focus window (and thus possibly 2005-02-11 19:20:44 +00:00
place.h ... 2001-07-26 03:58:24 +00:00
prefs.c Don't wireframe when accessibility is on, it apparently causes a desktop 2005-01-26 08:43:38 +00:00
prefs.h Don't wireframe when accessibility is on, it apparently causes a desktop 2005-01-26 08:43:38 +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 Show labels in bold for windows that demand attention. Fixes #164590. 2005-01-20 16:41:29 +00:00
screen.h Focus the desktop when showing it. Fixes #159257. 2004-12-20 02:46:42 +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 Patch from RHEL-3 (Havoc doesn't remember how it got there) that Havoc 2005-01-28 18:42:14 +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 A load of fixes of issues reported by sparse. Closes bug #152849 2004-09-16 23:18:22 +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 Big patch to cover about 6 different issues in order to correct rare 2005-02-20 17:14:16 +00:00
window.h Big patch to cover about 6 different issues in order to correct rare 2005-02-20 17:14:16 +00:00
workspace.c Focus parents of dismissed transient windows in preference to the window 2005-02-02 18:46:09 +00:00
workspace.h Partially resolve the conflicting requirements of windows on multiple 2004-12-22 23:52:52 +00:00
xprops.c Fix bug 143333, support for update counter spec, and 109362, schedule 2004-06-19 00:45:24 +00:00
xprops.h Fix bug 143333, support for update counter spec, and 109362, schedule 2004-06-19 00:45:24 +00:00