1. 03 Mar, 2017 1 commit
  2. 25 Oct, 2016 2 commits
  3. 24 Nov, 2014 1 commit
  4. 05 Oct, 2014 1 commit
  5. 04 Jun, 2014 1 commit
  6. 03 Jun, 2014 2 commits
  7. 23 Jan, 2014 1 commit
  8. 12 Jan, 2012 1 commit
  9. 11 Jun, 2010 1 commit
  10. 21 Jan, 2010 1 commit
  11. 12 Mar, 2009 1 commit
    • Thomas James Alexander Thurman's avatar
      Remove deprecated GTK symbols. Refs #572332. · 3f76affb
      Thomas James Alexander Thurman authored
      	* src/include/util.h:
      	* src/tools/metacity-window-demo.c:
      	* src/ui/fixedtip.c:
      	* src/ui/frames.c:
      	* src/ui/frames.h:
      	* src/ui/menu.c:
      	* src/ui/metaaccellabel.c:
      	* src/ui/metaaccellabel.h:
      	* src/ui/preview-widget.c:
      	* src/ui/preview-widget.h:
      	* src/ui/tabpopup.c:
      	* src/ui/theme-viewer.c:
      	* src/ui/themewidget.c:
      	* src/ui/themewidget.h:
      	* test/tokentest/tokentest.c:
      
      
      svn path=/trunk/; revision=4193
      3f76affb
  12. 20 Jan, 2006 1 commit
    • 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
  13. 08 Aug, 2003 1 commit
  14. 28 Jul, 2003 1 commit
    • Rob Adams's avatar
      Update window shaking loose so that the window is moved to the pointer and · 57272355
      Rob Adams authored
      2003-07-27  Rob Adams  <robadams@ucla.edu>
      
      	* src/window.c (update_move):  Update window shaking loose so that
      	the window is moved to the pointer and certain drag state is
      	properly restored once windows "reattach".  Fix for #115000 based
      	on the patch by Jurg Billeter.
      
      	* src/screen.c (meta_screen_resize): Invalidate work areas after
      	an xrandr screen size update.  Fix for #117230.
      
      	* src/stack.c (window_is_fullscreen_size): Check the bottom corner
      	of the window in addition to the top corner.  Fix for #118194.
      
      	* src/constraints.c (meta_window_constrain): Support aspect ratio
      	hints in the new constraints code.  Fix for #113798.
      
      	* src/tools/metacity-window-demo.c (toggle_aspect_ratio): toggle
      	the aspect ratio hints to force a 16:9 aspect ratio.
      	(do_appwindow): add a button to toggle aspect ratio.
      57272355
  15. 26 Jun, 2003 1 commit
    • Rob Adams's avatar
      Update constraints code to support the new _NET_WM_STRUT_PARTIAL EWMH · 971f3f12
      Rob Adams authored
      2003-06-10  Rob Adams  <robadams@ucla.edu>
      
      	Update constraints code to support the new _NET_WM_STRUT_PARTIAL
      	EWMH draft specification.  See #86682.  Also, fix a bug involving
      	work area invalidation on metacity startup.  Fix for #108497.
      	Finally, some minor fixes for full screen windows.
      
      	* src/window.h: Add new MetaStruts structure to store strut rects
      	for a window.  Remove has_struts and do_not_cover flag, and
      	support new MetaStruts instead of the four ints.
      
      	* src/window.c (meta_window_new): change initialization to work
      	with new struts.  Also, move meta_window_update_struts call to
      	after the workspaces are initialized to fix #108497.  Remove
      	do_not_cover and related code.
      	(process_property_notify): add strut_partial
      	(update_struts): change function name to meta_window_update_struts
      	and expose in external MetaWindow API.  Support partial width
      	struts and the new strut rects.
      
      	* src/workspace.h: add new GSLists containing pointers to all
      	relevant struts for this workspace.
      
      	* src/workspace.c (meta_workspace_new): initialize the list of
      	strut rects for this workspace.
      	(meta_workspace_free): free the strut rect lists
      	(ensure_work_areas_validated): support new struts and new strut
      	rect lists.  Unleash the per-xinerama work areas.
      
      	* src/constraints.c (get_outermost_onscreen_positions): Use the
      	current window position along with the new per-workspace strut
      	rects to compute the constraints that apply to a particular
      	window.
      	(constraint_hint_applies_func): don't do hints constraints on
      	fullscreen windows
      	(update_position_limits): for maximized windows use the work areas
      	to set the position limits; for other windows rely on the struts
      	constraints to be computed later in
      	get_outermost_onscreen_positions
      	(meta_window_constrain): don't apply aspect ratio hints to full
      	screen windows
      
      	* src/display.c (meta_display_open): add _NET_WM_STRUT_PARTIAL atom
      	(meta_rectangle_equal): new helper function for MetaRectangles
      	(event_queue_callback): #ifndef out if USE_GDK_DISPLAY not set to
      	avoid compiler warning
      
      	* src/display.h: add atom_net_wm_strut_partial, and add
      	meta_rectangle_equal.
      
      	* src/screen.c (meta_screen_rect_intersects_xinerama): change
      	_window_intersects_ to _rect_intersects_ which is more useful now.
      	(meta_screen_resize_func): update struts on windows with struts
      	since struts are relative to the screen size, and this function is
      	called when the screen size updates.
      
      	* src/screen.h (meta_screen_rect_intersects_xinerama): change
      	_window_intersects_ to _rect_intersects_ which is more useful now.
      
      	* src/window-props.c (meta_display_init_window_prop_hooks): add
      	hook for strut_partial
      
      	* src/tools/metacity-window-demo.c: Support partial-width struts
      	on the dock window tests for metacity testing purposes.
      971f3f12
  16. 18 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      replace the old apply_constraints with wacky new approach involving · 370982b8
      Havoc Pennington authored
      2002-10-18  Havoc Pennington  <hp@pobox.com>
      
      	* src/stack.c (constrain_stacking): replace the old
      	apply_constraints with wacky new approach involving graphing all
      	the constraints then walking the graph.  Fixes #94876 and probably
      	other stacking bugs as well, thanks to Arvind for tracking down
      	the issue.
      
      	(compute_layer): add FIXME and reference to bug #96140
      370982b8
  17. 17 Oct, 2002 2 commits
  18. 12 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      fix compiler warnings · cfa98e02
      Havoc Pennington authored
      2002-09-12  Havoc Pennington  <hp@redhat.com>
      
      	* src/workspace.c (meta_workspace_screen_index)
      	(meta_workspace_index): fix compiler warnings
      
      	* src/tools/metacity-window-demo.c (menu_items): add a test for
      	dialogs with no transient parent
      
      	* src/place.c (find_first_fit): Try placing window at origin of
      	first Xinerama, even if there are no windows to place next to;
      	makes placement work when no other windows are open on the screen.
      cfa98e02
  19. 24 Aug, 2002 1 commit
    • Havoc Pennington's avatar
      recalculate mapped-ness of frame after toggling decorations on/off, so · f1b58398
      Havoc Pennington authored
      2002-08-24  Havoc Pennington  <hp@redhat.com>
      
      	* src/window.c (process_property_notify): recalculate mapped-ness
      	of frame after toggling decorations on/off, so that windows don't
      	disappear when decorations are toggled on.
      
      	* src/tools/metacity-window-demo.c (toggle_decorated_cb): add a
      	test for toggling decoration state on the fly
      f1b58398
  20. 22 Jun, 2002 1 commit
    • Havoc Pennington's avatar
      Theme breakage! Themes have to implement "border" frames now, see Atlanta · de42a62f
      Havoc Pennington authored
      2002-06-21  Havoc Pennington  <hp@pobox.com>
      
              Theme breakage! Themes have to implement "border" frames
      	now, see Atlanta for an example. Fixes #84285
      
      	* src/tools/metacity-window-demo.c (do_appwindow): add a
      	border-only window
      
      	* src/window.c (update_mwm_hints): read border only from the MWM
      	hints
      
      	* src/window.h (struct _MetaWindow): add border_only flag
      
      	* src/core.c (meta_core_get_frame_type): report border type if
      	required
      
      	* src/common.h (enum): add META_FRAME_TYPE_BORDER
      de42a62f
  21. 11 May, 2002 2 commits
    • Havoc Pennington's avatar
      include locale.h, fix from Hidetoshi Tajima · 41e99288
      Havoc Pennington authored
      2002-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c: include locale.h, fix from Hidetoshi Tajima
      
      	* src/window.c (meta_window_new): disable show desktop mode when a
      	new window is managed.
      41e99288
    • Havoc Pennington's avatar
      add override redirect test window · 9598affa
      Havoc Pennington authored
      2002-05-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/tools/metacity-window-demo.c: add override redirect test
      	window
      
      	* src/stack.c (raise_window_relative_to_managed_windows): new
      	function, used to avoid moving windows above override redirect
      	popup windows.
      
      	* src/display.c (event_callback): don't lower panels on
      	LeaveNotify if they have focus, #70895
      9598affa
  22. 01 May, 2002 1 commit
    • Havoc Pennington's avatar
      don't try to decorate toolbars. · 03481ae2
      Havoc Pennington authored
      2002-04-30  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (recalc_window_features): don't try to decorate
      	toolbars.
      
      	* src/tools/metacity-window-demo.c: add menu and toolbar tests
      
      	* src/place.c (meta_window_place): only dialogs should be centered
      	over parent, not anything with transient for set.
      
      	* src/window.c (meta_window_configure_request): become more
      	fascist about window positioning if workarounds are disabled, and
      	less fascist if they are enabled.
      
      	* src/metacity.schemas: add a "disable_workarounds" option.  Kind
      	of crack-smoking. But we just can't get all applications
      	fixed. And I need no-workarounds mode to monitor which apps are
      	broken and what needs fixing in specs.
      
      	* src/window.c (meta_window_configure_request): always allow
      	windows to resize themselves
      
      	* src/keybindings.c (reload_modmap): don't filter out Mode_switch,
      	apparently some people bind window manager shortcuts to that.
      03481ae2
  23. 12 Apr, 2002 1 commit
    • Havoc Pennington's avatar
      make one of the toolbar buttons lock up the demo · f965726d
      Havoc Pennington authored
      2002-04-12  Havoc Pennington  <hp@redhat.com>
      
      	* src/tools/metacity-window-demo.c (do_appwindow): make one of the
      	toolbar buttons lock up the demo
      
      	* src/window.c (meta_window_delete): move error trap to be around
      	a narrower part of the function, and add part of the ping stuff,
      	nothing user-visible yet
      
      	* src/metacity-dialog.c (main): metacity-dialog executable to
      	live in libexecdir and pop up dialogs for us.
      f965726d
  24. 09 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      port to icon cache · 245c9c2d
      Havoc Pennington authored
      2002-02-09  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (update_icon): port to icon cache
      
      	* src/iconcache.c, src/iconcache.c: begin process of cleaning up
      	window.c by moving the icon-reading code in here, based on the
      	code in libwnck, which was in turn based on the earlier metacity
      	code
      245c9c2d
  25. 08 Feb, 2002 3 commits
    • Havoc Pennington's avatar
      add modal dialog test · ced833fd
      Havoc Pennington authored
      2002-02-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/tools/metacity-window-demo.c (menu_items): add modal dialog test
      ced833fd
    • Havoc Pennington's avatar
      when mapping a window with struts, invalidate the work areas it's on. · 51d9f9dc
      Havoc Pennington authored
      2002-02-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_show): when mapping a window with
      	struts, invalidate the work areas it's on. Should fix at least
      	part of the problem with windows maximizing over panels.
      
      	* src/workspace.c (meta_workspace_invalidate_work_area): also
      	queue move/resize on sticky windows
      
      	* src/tools/Makefile.am: consolidate reload-theme, restart into a
      	"metacity-message" app and add enable/disable keybindings to the
      	messages it knows about.
      
      	* src/keybindings.c:
      	(meta_change_keygrab): grab keyboard synchronously
      	(meta_display_process_key_event): if all keybindings are toggled
      	off, ReplayKeyboard, else AsyncKeyboard, except that the debug
      	binding for toggling back on is always processed
      	(meta_set_keybindings_disabled): function to disable/enable
      	all keybindings
      51d9f9dc
    • Havoc Pennington's avatar
      if DEMO_TEST is set then run the window demo · 43b67afc
      Havoc Pennington authored
      2002-02-07  Havoc Pennington  <hp@pobox.com>
      
      	* src/run-metacity.sh: if DEMO_TEST is set then run the window
      	demo
      
      	* src/tools/metacity-window-demo.c: Create an app with all the
      	semantic window types, for testing and for designing themes.
      43b67afc