1. 20 Jan, 2006 4 commits
    • Elijah Newren's avatar
      Patch from Kjartan Maraas to fix a lot of tiny issues (unused variable · 32d4bd6b
      Elijah Newren authored
      2006-01-20  Elijah Newren  <newren gmail com>
      
      	* src/async-getprop.c:
      	* src/common.h:
      	* src/display.c:
      	* src/eggaccelerators.c:
      	* src/frames.c:
      	* src/gradient.c:
      	* src/iconcache.c:
      	* src/keybindings.c:
      	* src/metaaccellabel.c:
      	* src/place.c:
      	* src/prefs.c:
      	* src/preview-widget.c:
      	* src/screen.c:
      	* src/session.c:
      	* src/stack.c:
      	* src/tabpopup.c:
      	* src/theme-viewer.c:
      	* src/theme.c:
      	* src/window-props.c:
      	* src/window.c:
      	* src/workspace.c:
      	* src/tools/metacity-window-demo.c:
      	* src/wm-tester/test-gravity.c:
      	* src/wm-tester/test-resizing.c:
      	* src/wm-tester/test-size-hints.c:
      	Patch from Kjartan Maraas to fix a lot of tiny issues (unused
      	variable removal, making unused variables used again, correction
      	of types passed/declared for printf arguments, removal of unneeded
      	breaks and returns, dead code removal, dead code revival, renaming
      	to prevent shadowed variables, declaring unexported functions as
      	static) spotted by the intel compiler.  #321439
      32d4bd6b
    • Elijah Newren's avatar
      Patch from Björn Lindqvist to fix #98340. · 4c107222
      Elijah Newren authored
      2006-01-20  Elijah Newren  <newren gmail com>
      
      	Patch from Björn Lindqvist to fix #98340.
      
      	* src/screen.c (meta_screen_ensure_tab_popup): Make sure an
      	outline border is shown even if a window frame's width is 0.
      	Also, correctly handle window outlines in showing desktop mode.
      4c107222
    • Søren Sandmann's avatar
      Make minimize animation update again. · cc790655
      Søren Sandmann authored
      Fri Jan 20 16:42:25 2006  Søren Sandmann  <sandmann@redhat.com>
      
              * src/compositor.c: Make minimize animation update again.
      cc790655
    • Vincent van Adrighem's avatar
      Translation updated by Tino Meinen. · 1bce2c55
      Vincent van Adrighem authored
      2006-01-20  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Tino Meinen.
      1bce2c55
  2. 19 Jan, 2006 2 commits
  3. 18 Jan, 2006 1 commit
  4. 17 Jan, 2006 2 commits
  5. 16 Jan, 2006 6 commits
  6. 15 Jan, 2006 4 commits
    • Francisco Javier F. Serrador's avatar
      Updated Spanish translation. · d552ca35
      Francisco Javier F. Serrador authored
      2006-01-15  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
      
      	* es.po: Updated Spanish translation.
      d552ca35
    • Elijah Newren's avatar
      Fix accidental overzealous focus holding by the terminal introduced by the · 9fdd3d16
      Elijah Newren authored
      2006-01-15  Elijah Newren  <newren@gmail.com>
      
      	Fix accidental overzealous focus holding by the terminal
      	introduced by the original patch in bug 326159.  Windows launched
      	from panel icons, the panel menu, or global keybindings should get
      	focus now.  #326159.
      
      	* src/display.c (meta_display_open, event_callback):
      	* src/display.h (struct MetaDisplay):
      	* src/keybindings.c (process_event):
      	* src/window.c (meta_window_set_user_time):
      	Add a new allow_terminal_deactivation field to MetaDisplay and use
      	it to track whether the user's last action was interaction with
      	the terminal or some outside action (global keybinding, clicking
      	on a dock, etc.) likely to launch a new window.
      
      	* src/window.c (window_state_on_map):
      	Allow the focus switch from a terminal to something else if
      	allow_terminal_deactiviation is true.
      
      	* src/keybindings.c (handle_panel_keybinding):
      	Remove some unneeded code.
      9fdd3d16
    • Elijah Newren's avatar
      Patch from Jens Granseuer to fix more build issues with gcc 2.95. #327050. · ef792fc1
      Elijah Newren authored
      2006-01-15  Elijah Newren  <newren@gmail.com>
      
      	Patch from Jens Granseuer to fix more build issues with gcc 2.95.
      	#327050.
      
      	* src/boxes.c (meta_rectangle_edge_cmp_ignore_type):
      	* src/window.c (meta_window_show):
      	Remove C99 style variable initiailization
      ef792fc1
    • Elijah Newren's avatar
      Don't dereference a NULL string. Fixes #327013. · 50bcc976
      Elijah Newren authored
      2006-01-14  Elijah Newren  <newren gmail com>
      
      	* src/window.c (__window_is_terminal): Don't dereference a NULL
      	string.  Fixes #327013.
      50bcc976
  7. 14 Jan, 2006 2 commits
  8. 13 Jan, 2006 3 commits
    • Søren Sandmann's avatar
      Only update on damage events. · efe25a80
      Søren Sandmann authored
      Fri Jan 13 16:37:26 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* src/compositor.c (update): Only update on damage events.
      efe25a80
    • Elijah Newren's avatar
      Patch from Damien Carbery. Fixes #326746. · f9d11c0b
      Elijah Newren authored
      2006-01-13  Elijah Newren  <newren gmail com>
      
      	Patch from Damien Carbery.  Fixes #326746.
      
      	* src/util.c: explicitly #include Xlib.h to fix a compilation
      	issue on Solaris.
      f9d11c0b
    • Søren Sandmann's avatar
      Add a dependency on libcm when building with compositor. · fea61914
      Søren Sandmann authored
      Fri Jan 13 14:40:19 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* configure.in: Add a dependency on libcm when building with
      	compositor.
      
      	* src/window.c (meta_window_hide): Make this function static.
      
      	* src/window.c (implement_showing): Use meta_compositor_minimize()
      	to do a weird minimize effect.
      
      	* src/compositor.[ch]: Beginning of new GL based compositor.
      
      	* src/screen.h (struct _MetaScreen): Add void pointer to
      	compositor data.
      
      	* src/screen.c (meta_screen_new): Remove obsolete compositor
      	stuff; initialize compositor_data. Don't composite manage screen
      	out of this function.
      
      	* src/errors.c (x_error_handler): Check that display is non-NULL
      	before using it. Add comment about how that can happen.
      
      	* src/display.c (meta_display_{begin,end}_grab_op): Remove
      	explicity damage of windows.
      
      	* src/display.c (meta_display_open): Composite manage all the
      	screens.
      fea61914
  9. 11 Jan, 2006 5 commits
  10. 10 Jan, 2006 11 commits
    • Elijah Newren's avatar
      post-release version bump to 2.13.21 · 51b8c402
      Elijah Newren authored
      2006-01-10  Elijah Newren  <newren@gmail.com>
      
      	* configure.in: post-release version bump to 2.13.21
      51b8c402
    • Elijah Newren's avatar
      2.13.13 release · f0322ee7
      Elijah Newren authored
      2006-01-10  Elijah Newren  <newren@gmail.com>
      
      	* NEWS:	2.13.13 release
      f0322ee7
    • Elijah Newren's avatar
      Whoops, I forgot to keep my copyright info updated with my previous · 5913b8c5
      Elijah Newren authored
      2006-01-10  Elijah Newren  <newren@gmail.com>
      
      	* src/bell.c:
      	* src/boxes.c:
      	* src/boxes.h:
      	* src/constraints.c:
      	* src/core.c:
      	* src/display.c:
      	* src/display.h:
      	* src/edge-resistance.c:
      	* src/frames.c:
      	* src/keybindings.c:
      	* src/main.c:
      	* src/prefs.c:
      	* src/prefs.h:
      	* src/screen.c:
      	* src/screen.h:
      	* src/window.c:
      	* src/window.h:
      	Whoops, I forgot to keep my copyright info updated with my previous
      	commits as Havoc had asked me to do.  Doing that now...
      5913b8c5
    • Elijah Newren's avatar
      Add a raise on click option, basically only because all the major distros · 52df880f
      Elijah Newren authored
      2006-01-10  Elijah Newren  <newren@gmail.com>
      
      	Add a raise on click option, basically only because all the major
      	distros are patching it in anyway.  See #326156.
      
      	* src/metacity.schemas.in: add the new gconf key and explanation
      
      	* src/prefs.[ch] (#define KEY_RAISE_ON_CLICK, static gboolean
      	  raise_on_click, update_raise_on_click, meta_prefs_init,
      	  change_notify, meta_prefs_get_raise_on_click,
      	  meta_preference_to_string):
      	Add all the normal preference handling stuff for this new
      	raise-on-click option.
      
      	* src/core.c (meta_core_show_window_menu):
      	* src/display.c (event_callback, meta_display_begin_grab_op):
      	* src/window.c (window_activate, meta_window_configure_request, ):
      	Only raise the window if in raise_on_click mode.
      
      	* src/display.c (meta_display_begin_grab_op,
      	  meta_display_end_grab_op, meta_display_check_threshold_reached):
      	* src/display.h (struct MetaDisplay):
      	* src/window.c (meta_window_handle_mouse_grab_op_event):
      	if not in raise-on-click mode only raise on button release if the
      	click didn't start a move or resize operation; needs a few extra
      	MetaDisplay fields to handle this
      
      	* src/core.c (meta_core_user_lower_and_unfocus):
      	no need to do the MRU shuffling if not maintaining the stacking
      	order == MRU order invariant
      
      	* src/frames.c (meta_frames_button_press_event):
      	* src/window.c (meta_window_begin_grab_op):
      	remove an unneeded window raising that is already handled elsewhere
      52df880f
    • Elijah Newren's avatar
      Don't "steal" focus from terminal windows for new window mappings as the · f6270596
      Elijah Newren authored
      2006-01-10  Elijah Newren  <newren@gmail.com>
      
      	Don't "steal" focus from terminal windows for new window mappings
      	as the difference in usage between terminals and other apps seems
      	to suggest this difference in treatment.  See #326159 for details,
      	feedback welcome.
      
      	* src/window.[ch] (__window_is_terminal): New function, currently
      	an ugly hack and should be replaced by a new property set by
      	applications if the behavior works to our liking,
      	(window_state_on_map): don't transfer focus to new windows from
      	terminals unless the new window is a transient of the focused
      	terminal
      
      	* src/keybindigns.c (handle_panel_keybinding): panel run dialog
      	keybinding should be counted as an explicit transfer of focus to
      	the new window, so override the
      	don't-transfer-focus-from-terminals in this case
      f6270596
    • Elijah Newren's avatar
      More thorough handling of source indication. Part of #326041. · a4d1c6fd
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	More thorough handling of source indication.  Part of #326041.
      
      	* src/window.c (window_activate): new function based off the old
      	meta_window_activate but which also takes source indication into
      	account, (meta_window_active): just call window_activate() with
      	the necessary source indication to get the behavior wanted,
      	(meta_window_client_message): check source indication too for
      	_net_active_window messages
      
      	* src/window.h (enum MetaClientType): convenience enum for source
      	indication handling
      a4d1c6fd
    • Elijah Newren's avatar
      Make the taskbar less flash happy and fix up some related stacking issues. · 0f8add8b
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	Make the taskbar less flash happy and fix up some related stacking
      	issues.  #326035.
      
      	* src/window.c (windows_overlap): new function,
      	(meta_window_show): if a window is denied focus but doesn't
      	overlap with the focus window there is no need to set the demands
      	attention hint nor stack that window below the focus window,
      	(meta_window_get_outer_rect): we're not modifying the window so
      	declare it to be const
      0f8add8b
    • Elijah Newren's avatar
      Fix window outline for minimized windows when using alt-esc. #325092. · 8c5b6c87
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	Fix window outline for minimized windows when using alt-esc.
      	#325092.
      
      	* src/display.c (meta_display_begin_grab_op): Specify the showing
      	type of tabbing operation (Alt tab vs. alt-esc) in addition to the
      	listing type of tabbing operation (docks vs normal windows) to
      	meta_screen_ensure_tab_popup().
      
      	* src/display.h (enum MetaTabShowType): new convenience enum
      
      	* src/screen.[ch] (meta_screen_ensure_tab_popup): require the
      	showing type be specified in addition to the tabbing type; put the
      	outline around the window instead of the icon when in alt-esc
      	mode.
      8c5b6c87
    • Elijah Newren's avatar
      Fix reduced resources resize handling for windows with sizing or resizing · ae52d731
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	Fix reduced resources resize handling for windows with sizing or
      	resizing constraints.  #325774.
      
      	* src/display.c (meta_display_end_grab_op): Provide constraints.c
      	with the correct gravity information.
      ae52d731
    • Elijah Newren's avatar
      Be more strict about what is considered a valid region with partial · d884f9ce
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	Be more strict about what is considered a valid region with
      	partial struts.  Fixes #322070.
      
      	* src/boxes.[ch]:
      	(meta_rectangle_expand_region_conditionally):
      	new function behaving like meta_rectangle_expand_region() but
      	which only does so when the width and height of the rectangles
      	meet a certain threshold
      
      	(replace_rect_with_list):
      	Remove a compiling warning
      
      	* src/constraints.c:
      	(constrain_partially_onscreen):
      	provide minimum thresholds in each direction for the size of the
      	rectangles to avoid cases where only a single pixel thick layer of
      	a window might be showing
      d884f9ce
    • Elijah Newren's avatar
      Use the right function to remove the timeout so that we don't crash if · ee54debd
      Elijah Newren authored
      2006-01-09  Elijah Newren  <newren@gmail.com>
      
      	* src/bell.c (meta_bell_notify_frame_destroy): Use the right
      	function to remove the timeout so that we don't crash if removed
      	at an inopportune time.  Fixes #322031.
      ee54debd