1. 01 Oct, 2006 1 commit
  2. 21 Aug, 2006 1 commit
    • Elijah Newren's avatar
      Patch from Ed Catmur to fix keybindings with hex-values (coming from · 88b9efd0
      Elijah Newren authored
      2006-08-21  Elijah Newren  <newren gmail com>
      
      	Patch from Ed Catmur to fix keybindings with hex-values (coming
      	from special extended keyboard keys).  #140448.
      
      	* src/keybindings.c (struct _MetaKeyBinding): change keycode from
      	KeyCode to unsigned int (comment from Elijah: why???),
      	(reload_keycodes): only grab keysyms for keybindings that have
      	them, (count_bindings, rebuild_binding_table): bindings can be
      	valid either due to a valid keysym or a valid keycode,
      	(display_get_keybinding_action, meta_change_keygrab,
      	process_tab_grab, process_workspace_switch_grab): handle keycode
      	as well as keysym
      
      	* src/prefs.[ch] (struct MetaKeyCombo, update_binding,
      	update_list_binding): handle keycode as well as keysym
      
      	* src/ui.[ch] (meta_ui_accelerator_parse): new function special
      	cases strings of the form "0x[0-9a-fA-F]+" and otherwise calling
      	gtk_accelerator_parse(), (meta_ui_parse_accelerator,
      	meta_ui_parse_modifier): call meta_ui_accelerator_parse instead of
      	gtk_accelerator_parse.
      88b9efd0
  3. 15 May, 2006 1 commit
    • Paolo Borelli's avatar
      plug a small leak. · fb3b5c92
      Paolo Borelli authored
      2006-05-15  Paolo Borelli  <pborelli@katamail.com>
      
      	* src/prefs.c (update_binding): plug a small leak.
      fb3b5c92
  4. 17 Apr, 2006 1 commit
    • Thomas Thurman's avatar
      Allow any keybinding pref to be specified either with <foo>, a string, or · fee1fb09
      Thomas Thurman authored
      2004-04-17  Thomas Thurman <thomas@thurman.org.uk>
      
              * keybindings.c (count_bindings, rebuild_binding_table):
              * prefs.c (change_notify, screen_bindings,
              window_bindings, init_bindings, update_binding,
              find_and_update_list_binding, update_list_binding,
              meta_prefs_get_window_binding): Allow any keybinding pref
              to be specified either with <foo>, a string, or <foo>_list,
              a list of strings, or both. Fixes #164831.
      fee1fb09
  5. 15 Apr, 2006 1 commit
    • Thomas Thurman's avatar
      Add a tabbing function, bound to alt-f6 by default, to cycle through the · 2214fd75
      Thomas Thurman authored
      2006-04-14  Thomas Thurman   <thomas@thurman.org.uk>
      
              Add a tabbing function, bound to alt-f6 by default, to cycle
              through the windows of the current application. Fixes #164831.
      
              * src/common.h: two new MetaGrabOpts values for group switching
              * src/display.c (ping_data_free, meta_display_in_grab_op,
              IN_TAB_CHAIN): adapt to new MetaGrabOpts
              * src/display.h: new enum value for MetaTabList for group switching
              * src/keybindings.c (meta_display_process_key_event):
              adapt to new MetaGrabOpts
              (process_tab_grab): adapt to new MetaGrabOpts, and use switch
              statement for cancelling instead of if statement
              * src/metacity.schemas.in: new keybindings
              * src/prefs.c, src/prefs.h: handle new keybindings
              * src/window.h: define META_WINDOW_IN_GROUP_TAB_CHAIN macro
      2214fd75
  6. 12 Apr, 2006 1 commit
    • Elijah Newren's avatar
      Patch from Ron Yorston to add a focus_new_windows option. Default is · 59d99fb9
      Elijah Newren authored
      2006-04-12  Elijah Newren  <newren gmail com>
      
      	Patch from Ron Yorston to add a focus_new_windows option.  Default
      	is 'smart' (focus by default but normal focus-stealing-prevention
      	can kick in); 'strict' is current other choice (like 'smart'
      	except that programs launched by the terminal will not be
      	focused).  Fixes remainder of #326159.  Should also close #152004
      	and a bunch of others.
      
      	* src/common.h:
      	Add a MetaFocusNewWindows enum giving the current types allowed
      
      	* src/display.h:
      	Update docs on allow_terminal_deactivation to note that it is only
      	relevant when focus_new_windows is 'strict'
      
      	* src/prefs.c:
      	* src/prefs.h:
      
      	* src/metacity.schemas.in: add the new gconf key and explanation
      
      	* src/prefs.[ch] (#define KEY_FOCUS_NEW_WINDOWS, static gboolean
      	  focus_new_windows, update_focus_new_windows, meta_prefs_init,
      	  change_notify, meta_prefs_get_focus_new_windows,
      	  meta_preference_to_string):
      	Add all the normal preference handling stuff for this new
      	focus-new-windows option.
      
      	* src/window.c (window_state_on_map, meta_window_set_user_time):
      	Don't focus windows launched from a terminal
      59d99fb9
  7. 25 Mar, 2006 1 commit
  8. 27 Feb, 2006 1 commit
    • Elijah Newren's avatar
      Patch from Thomas Thurman to prevent setting cycle_windows to keybindings · 3e01e149
      Elijah Newren authored
      2006-02-27  Elijah Newren  <newren gmail com>
      
              Patch from Thomas Thurman to prevent setting cycle_windows to
              keybindings that won't work.  #329676
      
              * src/prefs.c (update_binding):
              Make sure that bindings which require a modifier key are set to a
              keybinding with one or else that the binding is reverted.
      
              * src/ui.[ch] (meta_ui_accelerator_name):
              New function
      3e01e149
  9. 16 Feb, 2006 1 commit
    • Søren Sandmann's avatar
      New function. · f6738a93
      Søren Sandmann authored
      Thu Feb 16 15:24:42 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* src/screen.c (meta_screen_composite_all_windows): New function.
      
      	* src/prefs.[ch], src/metacity.schemas.in: Add new
      	compositing_manager key.
      
      	* src/display.c (prefs_changed_callback): Handle
      	META_PREF_COMPOSITOR_MANAGER
      
      	* src/display.c (event_callback): Only call
      	meta_compositor_process_event() if there is in fact a compositor.
      
      	* src/display.c (enable/disable_compositor): Add code to
      	enable/disable compositor at runtime
      f6738a93
  10. 14 Feb, 2006 1 commit
  11. 24 Jan, 2006 1 commit
    • Elijah Newren's avatar
      change the order of the ||'ed items in the if to avoid using an · 405e21a8
      Elijah Newren authored
      2006-01-23  Elijah Newren  <newren gmail com>
      
      	* src/display.c (meta_display_check_threshold_reached): change the
      	order of the ||'ed items in the if to avoid using an uninitialized
      	value
      
      	* src/prefs.c (meta_prefs_init): fix a couple uninitialized value
      	problems
      405e21a8
  12. 21 Jan, 2006 1 commit
    • Elijah Newren's avatar
      Patch from Dick Marinus to add a minimize double-click-titlebar-action; · c0f4b9d2
      Elijah Newren authored
      2006-01-21  Elijah Newren  <newren gmail com>
      
      	* src/common.h (enum MetaActionDoubleClickTitlebar):
      	* src/frames.c (meta_frames_button_press_event):
      	* src/prefs.c (action_double_click_titlebar_from_string):
      	* src/metacity.schemas.in:
      	Patch from Dick Marinus to add a minimize
      	double-click-titlebar-action; slightly modified to also include a
      	none action.  #300210.
      c0f4b9d2
  13. 20 Jan, 2006 3 commits
    • Elijah Newren's avatar
      Fix various initialization and default issues, especially for · e2722959
      Elijah Newren authored
      2006-01-20  Elijah Newren  <newren gmail com>
      
      	Fix various initialization and default issues, especially for
      	--disable-gconf.  Make --disable-gconf actually work.  #326661.
      
      	* configure.in: Fix compilation with --disable-gconf
      	* src/metacity.schemas.in: Add a note that if any defaults are
      	  changed in this file, src/prefs.c may need to be updated to
      	  reflect the change
      	* src/prefs.c: set various static global vars to the right default
      	value, (meta_prefs_init): get the titlebar_font and current_theme
      	handled better when not using gconf, (struct MetaSimpleKeyMapping,
      	screen_string_bindings, window_string_bindings): helper vars to
      	allow some keybindings to work even without gconf,
      	(init_bindings): initialize bindings for the without-gconf case
      	too, (init_commands): make sure these are all NULL for the
      	non-gconf case so that we don't access random memory,
      	(init_workspace_names): just give these all a default name for the
      	non-gconf case,
      	(meta_prefs_change_workspace_name): actually change the name for
      	the non-gconf case too
      e2722959
    • Elijah Newren's avatar
      More careful error handling of values returned by GConf. Fixes #326615. · a556a733
      Elijah Newren authored
      2006-01-20  Elijah Newren  <newren gmail com>
      
      	More careful error handling of values returned by GConf.  Fixes
      	#326615.
      
      	* src/prefs.c (get_bool): new helper function, (meta_prefs_init):
      	use get_bool to handle the case of a gconf key not existing,
      	(update_cursor_size): sanity check for sane values
      a556a733
    • 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
  14. 10 Jan, 2006 2 commits
    • 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
  15. 25 Oct, 2005 1 commit
  16. 11 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      React to cursor theme changes: (#308106) · 8ce054b2
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	React to cursor theme changes: (#308106)
      
      	* src/prefs.h:
      	* src/prefs.c: Expose the GConf keys for cursor theme
      	and size as preferences META_PREF_CURSOR_THEME and
      	META_PREF_CURSOR_SIZE with getters meta_prefs_get_cursor_theme()
      	and meta_prefs_get_cursor_size().
      
      	* src/display.c (meta_display_open): Initialize the cursor
      	theme and size.
      
      	* src/display.h:
      	* src/display.c (meta_display_set_cursor_theme): New function
      	to change the cursor theme and update all cursors.
      
      	* src/screen.h
      	* src/screen.c (meta_screen_update_cursor): New function to
      	refesh the root cursor of a screen.
      
      	* src/main.c (prefs_changed_callback): Update the cursor
      	theme when the cursor preferences change.
      8ce054b2
  17. 26 Jan, 2005 1 commit
    • Arvind Samptur's avatar
      Don't wireframe when accessibility is on, it apparently causes a desktop · cf102c12
      Arvind Samptur authored
      2005-01-26  Arvind Samptur  <arvind.samptur@wipro.com>
      
              Don't wireframe when accessibility is on, it apparently
              causes a desktop wide freeze.
      
              * src/prefs.[ch] (meta_prefs_init) (change_notify)
              (update_gnome_accessibility) (meta_preference_to_string)
              (meta_prefs_get_gnome_accessibility) : Add code to monitor
              accessibility status.
      
              * src/display.c (meta_display_begin_grab_op): Check
              accessibility status before going ahead with wireframe.
              Fixes #159538
      cf102c12
  18. 25 Jan, 2005 1 commit
  19. 13 Oct, 2004 1 commit
    • Vincent Untz's avatar
      Add a keybinding to launch a terminal · b03558dc
      Vincent Untz authored
      2004-10-13  Vincent Untz  <vincent@vuntz.net>
      
      	Add a keybinding to launch a terminal
      
      	* src/keybindings.c: (handle_run_terminal): new function,
      	(error_on_generic_command): new function, (error_on_command): wrapper
      	around error_on_generic_command(), (error_on_terminal_command): new
      	function
      
      	* src/metacity.schemas.in: add run_command_terminal key
      
      	* src/prefs.[ch]: (meta_prefs_init): cache the terminal command and
      	register a gconf callback to update it, (change_notify): handle the
      	notification of terminal command changes, (meta_preference_to_string):
      	add the terminal command case, (update_terminal_command): new function,
      	(meta_prefs_get_terminal_command): new function,
      	(meta_prefs_get_gconf_key_for_terminal_command): new function
      b03558dc
  20. 16 Sep, 2004 1 commit
    • Kjartan Maraas's avatar
      A load of fixes of issues reported by sparse. Closes bug #152849 · 43cc3b86
      Kjartan Maraas authored
      2004-09-17  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* src/bell.c: (meta_bell_flash_screen):
      	* src/compositor.c:
      	* src/effects.c: (meta_effects_draw_box_animation):
      	* src/fixedtip.c: (meta_fixed_tip_show):
      	* src/frame.c: (find_argb_visual):
      	* src/frames.c: (unsigned_long_hash), (meta_frames_manage_window),
      	(meta_frames_apply_shapes):
      	* src/iconcache.c: (find_largest_sizes), (find_best_size):
      	* src/keybindings.c: (meta_spawn_command_line_async_on_screen):
      	* src/main.c: (main):
      	* src/menu.c: (meta_window_menu_new):
      	* src/prefs.c: (meta_prefs_get_visual_bell),
      	(meta_prefs_bell_is_audible), (meta_prefs_get_visual_bell_type),
      	(meta_prefs_get_action_double_click_titlebar),
      	(meta_prefs_get_auto_raise), (meta_prefs_get_auto_raise_delay),
      	(meta_prefs_get_reduced_resources):
      	* src/screen.c: (meta_create_offscreen_window):
      	* src/tabpopup.c: (meta_ui_tab_popup_get_selected):
      	* src/theme-parser.c: (meta_theme_load):
      	* src/theme.c: (meta_gtk_widget_get_font_desc):
      	* src/tools/metacity-mag.c: (mouse_press), (begin_area_grab):
      	* src/util.c: (meta_unsigned_long_hash): A load of fixes of issues
      	reported by sparse. Closes bug #152849
      43cc3b86
  21. 30 Apr, 2004 1 commit
  22. 12 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      Merge reduced_resources mode patch from the branch. Offers wireframe and · e98fad3e
      Havoc Pennington authored
      2003-10-12  Havoc Pennington  <hp@redhat.com>
      
              Merge reduced_resources mode patch from the branch. Offers
      	wireframe and no-animations.
      
      	* src/window.c (implement_showing): no animation if we are
      	in reduced resources mode
      
      	* src/prefs.c: add REDUCED_RESOURCES pref
      
      	* src/window.c (meta_window_update_keyboard_resize): fix to
      	modify grab_anchor_window_pos to grab_wireframe_rect if
      	appropriate instead of window->rect
      
      	* src/display.h (struct _MetaDisplay): add grab_start_serial used
      	to avoid responding to events that occurred prior to the grab
      	initialization.
      
      	Still broken in various ways, specifically EnterNotify that
      	occurred prior to XGrabPointer is processed as if it occurred
      	after.
      
      	* src/window.c (meta_window_update_keyboard_move): add this
      	instead of meta_window_warp_pointer() crack
      
      	* src/effects.c (meta_effects_update_wireframe): draw a kind of
      	grid for the wireframe, instead of just a rectangle, like twm
      
      	* src/screen.c (meta_screen_new): line width of 3 for the XOR gc
      
              "Reduced resources" mode based on wireframe patch from
      	Erwann Chenede. Still pretty buggy.
      
      	* src/keybindings.c (process_keyboard_move_grab)
      	(process_keyboard_resize_grab): add gruesome wireframe hacks
      
      	* src/display.c (meta_display_end_grab_op): end wireframe
      	(meta_display_begin_grab_op): begin wireframe
      
      	* src/effects.c (meta_effects_end_wireframe)
      	(meta_effects_update_wireframe, meta_effects_begin_wireframe):
      	routines to draw the wireframe stuff
      
      	* src/window.c (window_should_be_showing): hide window when
      	doing wireframe, commented out as it breaks grab
      	* src/window.c (meta_window_refresh_resize_popup): handle wireframe
      
      	* src/screen.c (meta_screen_new): create a screen->root_xor_gc
      	for use in drawing wireframes
      
      	* src/frames.c (meta_frames_push_delay_exposes): repaint
      	everything before we delay
      e98fad3e
  23. 27 Jun, 2003 1 commit
    • Rob Adams's avatar
      Add keybinding to allow the user to toggle _NET_WM_STATE_ABOVE on windows. · 34ec58af
      Rob Adams authored
      2003-06-26  Rob Adams  <robadams@ucla.edu>
      
      	Add keybinding to allow the user to toggle _NET_WM_STATE_ABOVE on
      	windows.  Disabled by default.  See #98387.
      
      	* src/keybindings.c (handle_toggle_above): new function implements
      	the keybinding
      
      	* src/metacity.schemas.in: add toggle_above keybinding
      
      	* src/prefs.[ch]: add toggle_above keybinding
      
      	* src/window.[ch] (meta_window_make_above): new function to put a
      	window into the above state
      	(meta_window_unmake_above): new function takes a window out of the
      	above state
      34ec58af
  24. 24 Feb, 2003 1 commit
    • Mark McLoughlin's avatar
      Take control of the panel's global keybindings. The screenshot utility is · 73cce3b1
      Mark McLoughlin authored
      2003-02-24  Mark McLoughlin  <mark@skynet.ie>
      
              Take control of the panel's global keybindings. The
              screenshot utility is hooked up using a special case
              run_command and the menu and run dialog bindings are
              done using the _GNOME_PANEL_ACTION ClientMessage
              protocol.
      
              * src/display.[ch]: (meta_display_open): add some atoms.
      
              * src/keybindings.c:
              (handle_panel_keybinding): impl to handle a keybinding
              by sending an action message to the panel.
      
              * src/metacity.schemas.in: add schemas for the panel and
              screenshot keybindings and the screenshot commands.
      
              * src/prefs.[ch]: (update_command),
              (meta_prefs_get_gconf_key_for_command): impl special case
              handling for the screenshot commands. They are stored at
              the the end of the commands array but have named keys.
      73cce3b1
  25. 22 Feb, 2003 2 commits
    • Havoc Pennington's avatar
      change max workspaces to 36 #81855 · 61d5423b
      Havoc Pennington authored
      2003-02-22  Havoc Pennington  <hp@pobox.com>
      
      	* src/prefs.c (MAX_REASONABLE_WORKSPACES): change max workspaces
      	to 36 #81855
      61d5423b
    • Havoc Pennington's avatar
      when tabbing backward, we are still tabbing *from* the most recently used · fb9ad1eb
      Havoc Pennington authored
      2003-02-22  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (meta_display_get_tab_next): when tabbing
      	backward, we are still tabbing *from* the most recently used
      	window, not from the least recently used window.
      
      	* src/keybindings.c (struct _MetaKeyBinding): make keycode
      	unsigned to match XEvent
      
      	Patch for #84999 based on patch from Mark McLoughlin
      
      	* src/prefs.c: add an add_shift field to MetaKeyPref to
      	add shift when grabbing the given keybinding.
      
      	* src/keybindings.c (rebuild_screen_binding_table)
      	(rebuild_window_binding_table): refactor to share code,
      	and honor add_shift field in MetaKeyPref
      fb9ad1eb
  26. 28 Jan, 2003 1 commit
  27. 15 Jan, 2003 1 commit
    • Rob Adams's avatar
      Increase the number of run_command bindings in screen_bindings from 12 to · 667a0560
      Rob Adams authored
      2003-01-14  Rob Adams <robadams@ucla.edu>
      
      	* src/prefs.c: Increase the number of run_command bindings in
      	screen_bindings from 12 to 32.
      
      	* src/prefs.h: Increase the number of META_KEYBINDING_COMMAND_N
      	macros from 12 to 32.
      
      	* src/keybindings.c: Increase the number of run_command handlers
      	from 12 to 32.
      667a0560
  28. 05 Jan, 2003 1 commit
    • Havoc Pennington's avatar
      handle the client having a shape mask, fixes #101806 · 6cfcc013
      Havoc Pennington authored
      2003-01-05  Havoc Pennington  <hp@pobox.com>
      
      	* src/frames.c (meta_frames_apply_shapes): handle
      	the client having a shape mask, fixes #101806
      
      	* src/core.c (meta_core_get_client_xwindow): new function
      
      	* src/frame.c, src/frame.h: keep a flag for whether we need to
      	update the frame shape
      
      	* src/window.c (meta_window_new): select for ShapeNotify
      
      	* src/display.h, src/display.c: actually query the shape
      	extension, instead of just using it all over the place.
      
      	* src/prefs.c (update_application_based): don't let people turn on
      	application_based, as it just causes funky bugs. We can reenable
      	the pref when/if it ever does something useful.
      6cfcc013
  29. 19 Dec, 2002 1 commit
  30. 17 Dec, 2002 1 commit
  31. 15 Dec, 2002 1 commit
  32. 08 Dec, 2002 3 commits
    • Havoc Pennington's avatar
      new functions to resize to fill screen · e0c8b245
      Havoc Pennington authored
      2002-12-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_fill_vertical)
      	(meta_window_fill_horizontal): new functions to resize to
      	fill screen
      
      	* src/keybindings.c: add vert, horiz maximize
      
      	* src/prefs.c: had vert, horiz maximize
      
      	* src/metacity.schemas.in: shorten some overlong short
      	descriptions that make the keybindings capplet look ugly.
      	Add maximize_vertically, maximize_horizontally keys.
      e0c8b245
    • Havoc Pennington's avatar
      make this always return FALSE for now, to avoid bug reports. · 8d314aea
      Havoc Pennington authored
      2002-12-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/prefs.c (meta_prefs_get_application_based): make this always
      	return FALSE for now, to avoid bug reports.
      
      	* src/util.c (ensure_logfile): put "opened log file" message on
      	stderr so it will normally land in ~/.xsession-errors
      
      	* configure.in: remove extra AC_ARG_PROGRAM
      
      	* src/display.c (event_callback): handle the toggle-verbose message
      
      	* src/tools/metacity-message.c: add a toggle-verbose message, been
      	meaning to do this for a while.
      
      	* src/util.c (meta_set_verbose): if verbose mode is enabled and we
      	don't support it, then exit.
      
      	* src/prefs.c: allow building without gconf (currently means some
      	prefs are no-ops)
      
      	* src/util.c, src/util.h: support defining macros to
      	kill all verbose output entirely. (Removes the code and strings
      	associated with it)
      
      	* configure.in: don't get METACITY_PROPS_LIBS if not building the
      	config dialog.
      	(HAVE_GCONF): allow building sans gconf, if you are size-sensitive
      	and not using gnome.
      	(WITH_VERBOSE_MODE): add ability to disable all the verbose debug
      	spew strings, to shrink the binary.
      	(--disable-sm): allow SM support to be forced on or off
      	(--disable-startup-notification): allow forcing this on or off
      8d314aea
    • Havoc Pennington's avatar
      also treat empty string as "unset" in this function. · 15d28dfd
      Havoc Pennington authored
      2002-12-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/prefs.c (update_workspace_name): also treat empty string as
      	"unset" in this function.
      15d28dfd
  33. 20 Nov, 2002 2 commits
    • Havoc Pennington's avatar
      Should really fix #98303 · b8788e9c
      Havoc Pennington authored
      2002-11-19  Havoc Pennington  <hp@pobox.com>
      
      	Should really fix #98303
      
      	* src/prefs.c (meta_prefs_change_workspace_name): add
      	bad hack to treat empty string the same as null
      
      	* src/menu.c (get_workspace_name_with_accel): allocate one more
      	than the length of "name" so we have room for a nul byte (and
      	don't malloc(0) on empty strings). Also some formatting cleanups.
      b8788e9c
    • Havoc Pennington's avatar
      Fix #98303 and assorted cleanup · 2541da1d
      Havoc Pennington authored
      2002-11-19  Havoc Pennington  <hp@pobox.com>
      
              Fix #98303 and assorted cleanup
      
      	* src/prefs.c (meta_preference_to_string): handle
      	META_PREF_WORKSPACE_NAMES
      
      	* src/menu.c (get_workspace_name_with_accel): assert that the
      	workspace has a name
      
      	* src/screen.c (meta_screen_ensure_workspace_popup): assert that
      	we got a workspace name
      	(meta_screen_ensure_workspace_popup): assert that we got a
      	workspace name
      
      	* src/prefs.c (update_workspace_name): fix screwiness (strcmp with
      	a freed string, assorted bad logic)
      	(init_workspace_names): assert that we filled in a default
      	workspace name
      	(meta_prefs_get_workspace_name): assert non-NULL workspace name
      2541da1d