1. 13 Feb, 2019 2 commits
  2. 06 Nov, 2018 1 commit
    • Jonas Ådahl's avatar
      Clean up include macros mess · 2f4a68c8
      Jonas Ådahl authored
      The order and way include macros were structured was chaotic, with no
      real common thread between files. Try to tidy up the mess with some
      common scheme, to make things look less messy.
      2f4a68c8
  3. 18 Dec, 2017 1 commit
  4. 30 Dec, 2014 1 commit
  5. 14 Jul, 2014 1 commit
  6. 04 Jun, 2014 1 commit
  7. 27 May, 2014 1 commit
    • Jasper St. Pierre's avatar
      window: Refactor all move/resize operations to be in frame rect space · 6e06648f
      Jasper St. Pierre authored
      For Wayland, we want to have everything possible in terms of the frame
      rect, or "window geometry" as the Wayland protocol calls it, in order
      to properly eliminate some flashing when changing states to fullscreen
      or similar.
      
      For this, we need to heavily refactor how the code is structured, and
      make it so that meta_window_move_resize_internal is specified in terms
      of the frame rect coordinate space, and transforming all entry points
      to meta_window_move_resize_internal.
      
      This is a big commit that's hard to tear apart. I tried to split it
      as best I can, but there's still just a large amount of changes that
      need to happen at once.
      
      Expect some regressions from this. Sorry for any temporary regression
      that this might cause.
      6e06648f
  8. 20 May, 2014 1 commit
  9. 29 Apr, 2014 1 commit
  10. 19 Mar, 2014 2 commits
  11. 18 Mar, 2014 3 commits
  12. 13 Jan, 2014 1 commit
  13. 12 Jan, 2014 1 commit
  14. 19 Nov, 2013 2 commits
  15. 09 Aug, 2011 1 commit
    • Jasper St. Pierre's avatar
      Replace public MetaFrameGeometry with MetaFrameBorders · e0fb83c6
      Jasper St. Pierre authored
      There were actually *two* MetaFrameGeometry structs: one in theme-private.h,
      one in frame.h. The latter public struct was populated by a mix of (void*)
      casting and int pointers, usually pulling directly from the data in the private
      struct.
      
      Remove the public struct, replace it with MetaFrameBorders and scrap all
      the pointer hacks to populate it, instead relying on both structs being used
      in common code.
      
      This commit should be relatively straightforward, and it should not do any
      tricky logic at all, just a sophisticated find and replace.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=644930
      e0fb83c6
  16. 07 Mar, 2011 1 commit
    • Dan Winship's avatar
      Move the installed includes to a subdir · c84da3ce
      Dan Winship authored
      If mutter is going to be a "real" library, then it should install its
      includes so that users can do
      
          #include <meta/display.h>
      
      rather than
      
          #include <display.h>
      
      So rename the includedir accordingly, move src/include to src/meta,
      and fix up all internal references.
      
      There were a handful of header files in src/include that were not
      installed; this appears to have been part of a plan to keep core/,
      ui/, and compositor/ from looking at each others' private includes,
      but that wasn't really working anyway. So move all non-installed
      headers back into core/ or ui/.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=643959
      c84da3ce
  17. 16 Jun, 2009 1 commit
    • Jon Nettleton's avatar
      Comprehensively rename to Mutter · 51a64679
      Jon Nettleton authored
      Code:
      All references in the code not related to themes, keybindings, or
      GConf were changed from 'metacity' to 'mutter'. This includes, among other
      things, strings, comments, the atoms used in the message protocol, and
      the envvars used for debugging. The GConf schema file was reduced to
      the 3 settings new to mutter.
      
      The overall version was brought up to 2.27 to match current gnome.
      
      Structure:
      All files named '*metacity*' were renamed '*mutter*' with appropriate
      changes in the automake system.  Files removed are
      doc/creating_themes, src/themes, doc/metacity-theme.dtd,
      metacity.doap.  These files will eventually end up in an external
      gnome-wm-data module.
      
      Installation location:
      On the filesystem the mutter-plugindir was change from
      $(libdir)/metacity/plugins/clutter to just $(libdir)/mutter/plugins.
      The mutter-plugins.pc.in reflects these changes.
      
      Note:
      mutter.desktop.in and mutter-wm.desktop both continue to have
      X-GNOME-WMSettingsModule=metacity set.  This allows
      gnome-control-center to continue using libmetacity.so for
      configuration.  This is fine since most the general keybindings and wm
      settings are being read from /apps/metacity/* in gconf.
      51a64679
  18. 19 May, 2008 1 commit
    • Iain Holmes's avatar
      src/include/frame.h src/include/display.h src/include/xprops.h · f141692c
      Iain Holmes authored
      2008-05-19  Iain Holmes  <iain@gnome.org>
      
              * src/include/frame.h
              * src/include/display.h
              * src/include/xprops.h
              * src/include/compositor.h
              * src/include/types.h
              * src/include/window.h
              * src/include/errors.h
              * src/include/screen.h: New basic public API for compositor.
      
              * src/compositor/*: Separate the compositor out into its own 
      separate
              directory and set it up for backends. Initial XRender backend.
      
              * src/core/compositor.[ch]: Remove
      
              * src/core/frame.h
              * src/core/screen.h
              * src/core/display.h
              * src/core/window.h: Rename to -private.h so as not to clash 
      with the
              new files in include
      
              * src/core/delete.c
              * src/core/workspace.h
              * src/core/stack.[ch]
              * src/core/keybindings.[ch]
              * src/core/errors.c
              * src/core/effects.[ch]
              * src/core/core.c
              * src/core/group.h
              * src/core/edge-resistance.[ch]
              * src/core/window-props.[ch]
              * src/core/constraints.h
              * src/core/bell.[ch]
              * src/core/iconcache.h
              * src/core/session.[ch]
              * src/core/main.c
              * src/core/place.h
              * src/core/xprops.c
              * src/ui/tabpopup.c: Use the new -private headers
      
              * src/core/display.c
              * src/core/frame.c
              * src/core/window.c
              * src/core/screen.c: Add the API functions required by the 
      compositor
      
              * src/Makefile.am: Relocate the new files
      
      
      
      svn path=/trunk/; revision=3715
      f141692c
  19. 19 Dec, 2007 1 commit
    • Havoc Pennington's avatar
      sort source files into these directories according to which part of the WM · 72b08c82
      Havoc Pennington authored
      2007-12-19  Havoc Pennington  <hp@redhat.com>
      
      	* src/ui, src/core, src/include: sort source files into these
      	directories according to which part of the WM they are supposed to
      	be in. In an eventual plan, we should also create
      	src/compositor/render, src/compositor/fallback and move some of
      	the compositor stuff into that.
      	
      	* autogen.sh: require a newer automake, so we don't have to use
      	a recursive build
      
      	* src/ui/tabpopup.c: put in a hack to make the build temporarily
      	work, want to commit the large rearrangement before fixing this
      	not to include workspace.h or frame.h
      
      	* src/core/iconcache.c (meta_read_icons): temporarily break this
      	to get the build to work, want to commit the large rearrangement
      	before fixing this file not to include theme.h
      
      
      svn path=/trunk/; revision=3491
      72b08c82
  20. 01 Oct, 2006 1 commit
  21. 26 May, 2006 1 commit
  22. 15 May, 2006 1 commit
    • Björn Lindqvist's avatar
      Remove the preceeding functions as they are all obsoleted by the new · 51ade19a
      Björn Lindqvist authored
      2006-05-15  Björn Lindqvist  <bjourne@gmail.com>
      
      	* places.[ch] (intcmp, window_get_edges,
      	get_windows_showing_on_same_screen, get_vertical_edges,
      	get_horizontal_edges, meta_window_find_next_vertical_edge,
      	meta_window_find_next_horizontal_edge,
      	meta_window_find_nearest_vertical_edge,
      	meta_window_find_nearest_horizontal_edge): Remove the preceeding
      	functions as they are all obsoleted by the new edge-resistance
      	stuff. Fixes #341561.
      51ade19a
  23. 03 Aug, 2005 1 commit
    • Ray Strode's avatar
      Improve the behavior of keyboard move/resize and edge snapping. Still not · 2972ab6d
      Ray Strode authored
      2005-08-03  Ray Strode  <rstrode@redhat.com>
      
      	Improve the behavior of keyboard move/resize and edge
      	snapping.  Still not perfect, bug 310888.
      
      	* src/effects.c (draw_xor_rect): Make the outside of a
      	wireframe rectangle line up with the outside edge of its
      	window, instead of centering the wireframe edges on the
      	window edges.
      
      	* src/keybindings.c (process_keyboard_move_grab): allow
      	edge snapping in wireframe mode.  Adjust code to take
      	into account changed semantics of find_next_*_edge
      	functions.
      	(process_keyboard_resize_grab_op_change): new function
      	to take some orthogonal logic out of
      	process_keyboard_resize_grab_op.  Only allow keyboard
      	resize cursor to go to flat edges, not corners.
      	(process_keyboard_resize_grab):  allow edge snapping in
      	wireframe mode.  Fix up snapping logic.
      
      	* src/place.c (get_{vertical,horizontal}_edges): use
      	GArray instead of int *, since the number of output
      	edges isn't known until the middle of the function now.
      	Use xor rect extents instead of window extends if in
      	wireframe mode.
      	(meta_window_find_next_{vertical,horizontal}_edge: add
      	new source_edge_position parameter to specify which edge
      	on the active window to start from when looking for next
      	edge on the screen. Return the coordinate of the edge
      	found and not the coordinate of where the window should be
      	moved to snap to where the edge was found.
      
      	* src/window.c (update_move): all the user to specify
      	an edge to resize with mouse in keyboard resize mode.
      	window
      2972ab6d
  24. 26 Jul, 2001 1 commit
    • rhp's avatar
      ... · c18a8137
      rhp authored
      c18a8137
  25. 12 Jul, 2001 1 commit
    • rhp's avatar
      ... · 93b7bd2c
      rhp authored
      93b7bd2c
  26. 24 Jun, 2001 1 commit
    • rhp's avatar
      ... · 8025ecea
      rhp authored
      8025ecea
  27. 30 May, 2001 1 commit
    • rhp's avatar
      ... · 287b6b15
      rhp authored
      287b6b15