1. 11 Jun, 2003 1 commit
  2. 09 Jun, 2003 3 commits
    • Rob Adams's avatar
      Revamp placement policy for windows that are maximized when they are · 010e620a
      Rob Adams authored
      2003-06-09  Rob Adams  <robadams@ucla.edu>
      
      	Revamp placement policy for windows that are maximized when they
      	are mapped, including windows that set a hint to be maximized or
      	windows that are auto-maximized using our heuristic.  See #111902.
      
      	* src/window.h: add new flag maximize_after_placement and new
      	function meta_window_maximize_internal.
      
      	* src/window.c (meta_window_new): initialize
      	maximize_after_placement to FALSE and remove the automaximize
      	heuristic.
      	(meta_window_maximize_internal): new function accepts a saved_rect
      	argument to be used as the new saved_rect for the window, and does
      	not queue a move_resize.
      	(meta_window_maximize): re-implement using
      	meta_window_maximize_internal.
      	(update_net_wm_state): If a window has a maximize hint set on
      	startup set maximize_after_placement to TRUE
      
      	* src/constraints.c (meta_window_constrain): Update the xinerama
      	information in the ConstraintInfo after placing the window, and
      	maximize the window after placement if
      	window->maximize_after_placement
      
      	* src/place.c (find_first_fit): take a natural xinerama list as an
      	argument instead of generating it here
      	(constrain_placement): remove function, since it is no longer
      	needed
      	(meta_window_place): generate the natural xinerama list here and
      	pass it into find_first_fit.  If find_first_fit fails, use the
      	list to find empty xineramas where we can place windows that may
      	be maximized later.  This makes maximized windows follow the
      	correct placement policy.  Move the automaximize heuristic here.
      010e620a
    • Rob Adams's avatar
      install an alarm to timeout the no-sm-dialog after 4 minutes of · 3f6bad08
      Rob Adams authored
      2003-06-09  Rob Adams  <robadams@ucla.edu>
      
      	* src/metacity-dialog.c (warn_about_no_sm_support): install an
      	alarm to timeout the no-sm-dialog after 4 minutes of inactivity.
      	Patch from Ximian.  See #114789.
      3f6bad08
    • Garrett LeSage's avatar
  3. 08 Jun, 2003 1 commit
  4. 07 Jun, 2003 3 commits
  5. 06 Jun, 2003 2 commits
  6. 04 Jun, 2003 6 commits
    • Rob Adams's avatar
      don't be stupid and set window->group = NULL after calling · 85abc9bf
      Rob Adams authored
      2003-06-04  Rob Adams  <robadams@ucla.edu>
      
      	* src/window.c (meta_window_new): don't be stupid and set
      	window->group = NULL after calling meta_window_compute_group.
      
      	* src/group.c (meta_window_get_group): assert that window->group
      	!= NULL in here instead of computing the group to ensure
      	robustness.
      85abc9bf
    • Rob Adams's avatar
      Precompute groups to guarantee that meta_group_list_windows always returns · 993c7075
      Rob Adams authored
      2003-06-04  Rob Adams  <robadams@ucla.edu>
      
      	Precompute groups to guarantee that meta_group_list_windows always
      	returns the correct list of windows.  See Bug #96973
      
      	* src/window.h: change cached_group variable to group
      
      	* src/window.c (meta_window_new): change cached_group to group and
      	call meta_window_compute_group
      
      	* src/groups.c (meta_window_get_group): simply return
      	window->group rather than computing it and returning
      	window->cached_group
      	(meta_window_compute_group): new function computes window->group.
      	Designed to be called once from meta_window_new
      	(remove_window_from_group): change cached_group to group
      	(meta_window_group_leader_changed): call meta_window_compute_group
      	instead of meta_window_get_group
      993c7075
    • Rob Adams's avatar
      Roll back broken update · 4469a42a
      Rob Adams authored
      4469a42a
    • Rob Adams's avatar
      Precompute groups to guarantee that meta_group_list_windows always returns · bf965f84
      Rob Adams authored
      2003-06-04  Rob Adams  <robadams@ucla.edu>
      
      	Precompute groups to guarantee that meta_group_list_windows always
      	returns the correct list of windows.  See Bug #96973
      
      	* src/window.h: change cached_group variable to group
      
      	* src/window.c (meta_window_new): change cached_group to group and
      	call meta_window_compute_group
      
      	* src/groups.c (meta_window_get_group): simply return
      	window->group rather than computing it and returning
      	window->cached_group
      	(meta_window_compute_group): new function computes window->group.
      	Designed to be called once from meta_window_new
      	(remove_window_from_group): change cached_group to group
      bf965f84
    • Dmitry Mastrukov's avatar
    • Dmitry Mastrukov's avatar
  7. 31 May, 2003 1 commit
  8. 30 May, 2003 5 commits
    • Rob Adams's avatar
      CVS2003-05-29 Rob Adams <robadams@ucla.edu> · 3edad859
      Rob Adams authored
      
      CVS2003-05-29  Rob Adams  <robadams@ucla.edu>
      
      	Use a new property _METACITY_SENTINEL to eliminate a race
      	condition that causes focus to behave badly with sloppy/mouse
      	focus when lots of windows are mapped/unmapped, such as with a
      	workspace switch.  The EnterNotify events on a display are ignored
      	until the PropertyNotify sent after all the window maps is
      	received.  This is a fix for #110970.
      
      	* src/display.[ch]: New _METACITY_SENTINEL atom.
      	(event_callback): ignore EnterNotify if the sentinel isn't clear,
      	and decrement the sentinel counter when the PropertyNotify is
      	received.
      	(meta_display_increment_focus_sentinel): new function.  Increments
      	the sentinel counter and updates the property on a root window on
      	this display.
      	(meta_display_decrement_focus_sentinel): Decrement the sentinel
      	counter.
      	(meta_display_focus_sentinel_clear): returns whether the sentinel
      	counter is zero.
      
      	* src/window.c (idle_calc_showing): after showing windows, call
      	meta_display_increment_focus_sentinel on each display for windows
      	to be shown.
      
      	* src/workspace.[ch] (meta_workspace_activate_with_focus): new
      	function activates a workspace and focuses a particular window
      	after the workspace is activated.
      	(meta_workspace_activate): now just a wrapper for
      	meta_workspace_activate_with_focus
      
      	* src/keybindings.c: use new meta_workspace_activate_with_focus
      	function to ensure that focus will follow the focused window
      	through the workspace switch.
      
      : ----------------------------------------------------------------------
      3edad859
    • Paul Duffy's avatar
      Updated Irish Translation · 903f3d7e
      Paul Duffy authored
      2003-05-30  Paul Duffy <dubhthach@frink.nuigalway.ie>
      Updated Irish Translation
      903f3d7e
    • Havoc Pennington's avatar
      s/int/gsize/ for g_file_get_contents() (found independently by · 051e404d
      Havoc Pennington authored
      2003-05-29  Havoc Pennington  <hp@redhat.com>
      
      	* src/theme-parser.c (meta_theme_load): s/int/gsize/ for
      	g_file_get_contents() (found independently by
      	marcus@freebsd.org on SPARC and James Laska on s390x;
      	#113661
      
      	* src/main.c (main): fix theme location mentioned in error message
      051e404d
    • Ray Strode's avatar
      Get and use double-click speed from GtkSettings (Bug #103218). · d1a85355
      Ray Strode authored
      2003-05-29  Ray Strode  <halfline@hawaii.rr.com>
      
      	Get and use double-click speed from GtkSettings (Bug #103218).
      
      	* src/ui.c, src/ui.h:
      	add function meta_ui_get_double_click_timeout for looking up
      	the global double-click speed.
      
      	* src/display.c, src/display.h: remove double_click_time
      	field from MetaDisplay and use meta_ui_get_double_click_timeout
      	instead.
      d1a85355
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation. · f4410339
      Kwok-Koon Cheung authored
      	* zh_TW.po: Updated traditional Chinese translation.
      f4410339
  9. 29 May, 2003 1 commit
    • Rob Adams's avatar
      chdir to the user's home directory on startup. See #113755. · 0fa4954c
      Rob Adams authored
      2003-05-29  Rob Adams  <robadams@ucla.edu>
      
      	* src/main.c (main): chdir to the user's home directory on
      	startup.  See #113755.
      
      	* src/stack.c (get_standalone_layer): a window should be in the
      	fullscreen layer if it or any of its transient descendants are
      	focused or expecting the focus and it is either fullscreen or
      	fullscreen sized.  Fix for #104369.
      
      	* src/stack.c (is_focused_foreach): foreach used by
      	get_standalone_layer to find focused transient descendants.
      0fa4954c
  10. 26 May, 2003 1 commit
  11. 21 May, 2003 2 commits
  12. 20 May, 2003 4 commits
  13. 19 May, 2003 1 commit
  14. 18 May, 2003 2 commits
  15. 17 May, 2003 2 commits
    • Rob Adams's avatar
      update ChangeLog · 9e260852
      Rob Adams authored
      9e260852
    • Rob Adams's avatar
      Flip the workspace when using up/down/left/right for move window to, but · 7fc6c999
      Rob Adams authored
      2003-05-16  Rob Adams  <robadams@ucla.edu>
      
      	Flip the workspace when using up/down/left/right for move window
      	to, but not when specifying a workspace explicitly as in move to
      	workspace 4.  Possible fix for #105492.
      
      	* src/keybindings.c (do_handle_move_to_workspace): new function
      	moves a window to a workspace with the option to flip to that
      	workspace.
      	(handle_move_to_workspace): Use new do_handle_move_to_workspace
      	function without flipping (a keybinding)
      	(handle_move_to_workspace_flip): Use new
      	do_handle_move_to_workspace function with flipping (a keybinding)
      7fc6c999
  16. 16 May, 2003 4 commits
    • Havoc Pennington's avatar
      fix for bug #104018 from David Santiago, change button state to normal · 3ad56185
      Havoc Pennington authored
      2003-05-16  Havoc Pennington  <hp@redhat.com>
      
      	* src/frames.c (meta_frames_paint_to_drawable): fix for
      	bug #104018 from David Santiago, change button state to
      	normal while it's being pressed if you move the mouse
      	outside it. Do this by tracking prelit_control for whether
      	to draw a button as active, not just for whether to draw
      	it as prelit.
      	(meta_frames_motion_notify_event): also update prelit_control
      	while clicking a button
      3ad56185
    • Havoc Pennington's avatar
      fill in window->desc sooner since we use it sooner now. · 4b02b0dd
      Havoc Pennington authored
      2003-05-16  Havoc Pennington  <hp@redhat.com>
      
      	* src/window.c (meta_window_new): fill in window->desc sooner
      	since we use it sooner now.
      
      	* src/display.c (meta_display_open): init
      	display->grab_update_alarm
      
      	* src/window.c (meta_window_new): initialize the always_sticky
      	field
      	(meta_window_new): initialize the update_icon_queued field
      
              Patch from Julien Olivier bug #92335 for converting "show desktop
      	mode" to "all windows are minimized" when you open a new window,
      	instead of just mapping all the windows again.
      
      	* src/window.c (meta_window_activate): minimize all windows before
      	coming out of show desktop mode.
      	(meta_window_unminimize): don't toggle show desktop mode here
      
      	* src/screen.c (meta_screen_minimize_all_except): new function
      4b02b0dd
    • Telsa Gwynne's avatar
      Welsh translation from Dafydd Harries. · 1ac3f938
      Telsa Gwynne authored
      1ac3f938
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · b422d862
      Pablo Gonzalo del Campo authored
      2003-05-16  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      b422d862
  17. 12 May, 2003 1 commit