Commit Graph

3849 Commits

Author SHA1 Message Date
Tomas Frydrych
a3f56bb289 Added --with-clutter option; initialize Clutter from meta_ui_init().
Fixed up the build files so we do not build xrender compositor when building
clutter backend; moved clutter initialization to meta_ui_init() so commandline
arguments can be passed into clutter_init().
2008-08-20 10:31:10 +01:00
Tomas Frydrych
b48f9ca907 Code cleanup and pretification. 2008-08-20 09:33:39 +01:00
Tomas Frydrych
8589eab403 Cleaned up MetaCompWindow disposal. 2008-08-20 08:26:52 +01:00
Tomas Frydrych
1ee1842638 Made MetaCompWindow into ClutterGroup sub-class. 2008-08-19 17:02:00 +01:00
Tomas Frydrych
70afce0325 Cast shadows to SE. 2008-08-19 14:33:20 +01:00
Tomas Frydrych
1f29679c0d Basic CM minimize effect
Added minimize hook to the compositor, hooked up into MetaWindow, implemented
in the clutter compositor.
2008-08-19 11:47:30 +01:00
Tomas Frydrych
99b547bc1d Fixed handling of opacity and argb32 windows.
Parsing of _NET_WM_WINDOW_OPACITY; no shadows for argb32 and translucent
windows.
2008-08-19 10:57:15 +01:00
Tomas Frydrych
030afac8ab Cleaned up repar_win
Uncommented path for TFP; fixed leak of parts regions; removed unnecessary
'damaged' flag.
2008-08-19 10:15:16 +01:00
Tomas Frydrych
121a65e4f4 Fixed destroy effect
Stopped processing of unmap and damage messages when a destroy message is
already in the queue.
2008-08-19 09:20:04 +01:00
Tomas Frydrych
a8bcfb9a0c Removed process_expose
No Expose event processing is necessary, since clutter stage paints
automatically when changes are made to the scenegraph (so we only need to
update our window textures as damaged; everything else just works).
2008-08-18 17:08:01 +01:00
Tomas Frydrych
9f9df52ba6 Reduced MAX_TILE_SIZE to 8px so that shaddows work even with small windows
(e.g., tootips).
2008-08-18 16:23:50 +01:00
Tomas Frydrych
676a516ff2 Add shaddows to override-redirect windows, e.g. Gtk menus (Gtk should really
be fixed not to use override redirect for menus as the maemo fork does).
2008-08-18 16:16:38 +01:00
Thomas Thurman
b238584c1e fix version number which broke
2008-08-18  Thomas Thurman  <tthurman@gnome.org>

        * NEWS: fix version number which broke


svn path=/trunk/; revision=3828
2008-08-18 15:05:44 +00:00
Thomas Thurman
129fde88fa Post-release version bump to 2.25.1.
2008-08-18  Thomas Thurman  <tthurman@gnome.org>

        * configure.in: Post-release version bump to 2.25.1.


svn path=/trunk/; revision=3827
2008-08-18 15:02:30 +00:00
Tomas Frydrych
4134949d72 get_window_type:
Streamlined to use the MetaWindow type where that is available; for unmanaged
windows, query window props as before.
2008-08-18 15:44:26 +01:00
Tomas Frydrych
e6e6aecb93 Exposed MetaWindowType so it can be used by compositor backends.
meta_window_get_type:
meta_window_get_type_atom:
Accessors for window type/type atom.
2008-08-18 15:42:38 +01:00
Thomas Thurman
13f3cb0b9a correct incorrect version number
2008-08-18  Thomas Thurman  <tthurman@gnome.org>

        * configure.in: correct incorrect version number


svn path=/trunk/; revision=3825
2008-08-18 14:37:50 +00:00
Tomas Frydrych
f7f696c310 Moved atomnames.h to includes so can be included from display.h.
meta_display_get_atom: allow common atom retrieval via enum (to avoid interning
identical atoms at different places).
2008-08-18 15:10:13 +01:00
Thomas James Alexander Thurman
2154d9e920 2.25.1 release.
svn path=/trunk/; revision=3824
2008-08-18 13:56:46 +00:00
Tomas Frydrych
5ebaa15333 Updated to clutter-0.8. 2008-08-18 12:02:14 +01:00
Thomas Thurman
8736f61579 Adding doxygen headers to some files.
2008-08-18  Thomas Thurman  <tthurman@gnome.org>

        Adding doxygen headers to some files.

        * src/core/metacity-Xatomtype.h
        * src/core/main.c
        * src/core/screen-private.h
        * src/core/window-private.h
        * src/core/keybindings.h
        * src/core/session.h
        * src/core/workspace.h
        * src/core/window-props.h ()


svn path=/trunk/; revision=3818
2008-08-18 10:25:17 +00:00
Tomas Frydrych
e1965914a3 Synced with Metacity 2.23.89 (r3800)
Merge commit '51de9ef8605f7a195ef360afb3a504488125611f' into clutter
2008-08-18 11:11:32 +01:00
Eric Piel
233237f098 add a copy of each strut in a window to the workspace's strut list,
2008-08-18  Eric Piel  <e.a.b.piel@tudelft.nl>

        * src/core/workspace.c (ensure_work_areas_validated): add a copy of
         each strut in a window to the workspace's strut list, instead of
         using the copy in the list (which would mean it was double-freed).
         Believed to fix #468075.


svn path=/trunk/; revision=3817
2008-08-18 02:48:36 +00:00
Ted Percival
4fb40b57a9 Ensure the user_rect is set sanely for windows that start maximized.
2008-08-16  Ted Percival  <ted@midg3t.net>

        Ensure the user_rect is set sanely for windows that start maximized.
        Prevents maximized windows from warping across the screen.
        Fixes bug #504692.

        * src/core/window.c (save_user_placement): renamed version of
        meta_window_save_user_rect().
        * src/core/window.c (force_save_user_placement): similar, but will
        always save user_rect even if the window is maximised or fullscreen.
        * src/core/window.c (meta_window_move_resize_internal): unplaced
        windows have force_save_user_placement() called instead of
        save_user_placement().


svn path=/trunk/; revision=3816
2008-08-16 03:09:40 +00:00
Duarte Loreto
6e4c88ad93 Updated Portuguese translation.
2008-08-14  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=3813
2008-08-14 15:48:40 +00:00
Patrick Niklaus
5631cbe22d Icons for windows are taken from the desktop theme, not from the Metacity
2008-08-14   Patrick Niklaus  <marex@compiz-fusion.org>

          Icons for windows are taken from the desktop theme, not from
          the Metacity theme or from the fallback icon that Metacity
          provided.  Closes #524343.

        * src/ui/ui.c: Use GtkIconTheme to load the default window icon.
          Assumes the existence of an icon called "window", otherwise
          falls back to "gtk-missing-image". Fixes #524343.
        * src/ui/preview-widget: See above.
        * src/include/common.h: Add META_DEFAULT_ICON_NAME.
        * src/Makefile.am: Remove default_icon.png from inlinepixbufs.h.
        * src/default_icon.png: Removed.


svn path=/trunk/; revision=3812
2008-08-14 14:01:51 +00:00
Akira TAGOH
92fe1574ec new manual page. added new reference.
2008-08-14  Akira TAGOH  <akira@tagoh.org>

        * doc/man/metacity-message.1: new manual page.
        * doc/man/Makefile.am: added new reference.


svn path=/trunk/; revision=3811
2008-08-14 03:02:31 +00:00
Leonardo Ferreira Fontenelle
b4534658f3 Brazilian Portuguese translation updated by Djavan Fagundes.
2008-08-13  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Brazilian Portuguese translation updated by Djavan
	Fagundes.

svn path=/trunk/; revision=3810
2008-08-14 02:52:13 +00:00
Thomas Thurman
3cd7574749 Post-branch bump to 2.25.0.
2008-08-13  Thomas Thurman  <tthurman@gnome.org>

        * configure.in: Post-branch bump to 2.25.0.



svn path=/trunk/; revision=3808
2008-08-13 11:54:52 +00:00
Ilkka Tuohela
203b701d78 Updated Finnish translation
svn path=/trunk/; revision=3806
2008-08-13 06:24:34 +00:00
Petr Kovář
14f8e1c553 cs.po: Updated Czech translation.
svn path=/trunk/; revision=3805
2008-08-08 23:51:40 +00:00
Ignacio Casal Quinteiro
e6c16a77f1 Updated Galician translation
svn path=/trunk/; revision=3804
2008-08-07 16:05:02 +00:00
Djihed Afifi
6f9048d69c Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=3803
2008-08-06 08:32:43 +00:00
Thomas James Alexander Thurman
416bc2432c Post-release bump to 2.23.144.
svn path=/trunk/; revision=3802
2008-08-04 17:48:08 +00:00
Thomas James Alexander Thurman
51de9ef860 2.23.89 release.
svn path=/trunk/; revision=3800
2008-08-04 17:41:03 +00:00
Takeshi AIHANA
af17cddf1c Updated Japanese translation.
2008-08-02  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=3799
2008-08-02 01:42:13 +00:00
Djihed Afifi
12ae5cc4fe Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=3798
2008-07-29 01:35:18 +00:00
Wouter Bolsterlee
bd00b58949 Dutch translation updated by Wouter Bolsterlee.
2008-07-29  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* nl.po: Dutch translation updated by Wouter Bolsterlee.


svn path=/trunk/; revision=3797
2008-07-28 23:27:07 +00:00
Thomas James Alexander Thurman
deaebc5d2e DOAP file (first pass, anyway).
* metacity.doap (added): DOAP file (first pass, anyway).


svn path=/trunk/; revision=3796
2008-07-27 03:47:47 +00:00
Daniel Nylander
7f6a2ebc76 sv.po: Updated Swedish translation
svn path=/trunk/; revision=3795
2008-07-25 21:50:12 +00:00
Leonardo Ferreira Fontenelle
7d9e4ee37d Terminology fixes by Vladimir Melo.
2008-07-24  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Terminology fixes by Vladimir Melo.

svn path=/trunk/; revision=3794
2008-07-25 02:08:04 +00:00
Daniel Nylander
7adbca2fdb sv.po: Updated Swedish translation
svn path=/trunk/; revision=3793
2008-07-17 19:37:34 +00:00
Luca Ferretti
3848fa17e5 Updated Italian translation.
2008-07-14  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Updated Italian translation.


svn path=/trunk/; revision=3792
2008-07-14 10:38:02 +00:00
Thomas James Alexander Thurman
f9a0c6d456 Post-release bump to 2.23.89.
svn path=/trunk/; revision=3791
2008-07-14 01:30:25 +00:00
Thomas James Alexander Thurman
7ec8054491 2.23.55 release.
svn path=/trunk/; revision=3789
2008-07-14 01:25:17 +00:00
Thomas Thurman
34fe81fabd meta_display_screen_for_root() can return NULL, so check for that. Fixes
2008-07-13  Thomas Thurman  <tthurman@gnome.org>

        * src/core/display.c (event_callback): meta_display_screen_for_root()
        can return NULL, so check for that.  Fixes #422242.  Also tidying.

svn path=/trunk/; revision=3788
2008-07-14 00:41:25 +00:00
Elijah Newren
dacf784498 Don't attempt to double-free struts, edges and regions if work areas have
2008-07-13  Elijah Newren  <newren gmail com>

        * src/core/workspace.c (meta_workspace_free): Don't attempt to
        double-free struts, edges and regions if work areas have already
        been invalidated at the time of freeing a workspace.
        Possible fix to #361804.

svn path=/trunk/; revision=3787
2008-07-13 22:16:23 +00:00
Thomas Thurman
24e63a0d2d Don't allocate memory for log messages unless we're logging.
2008-07-12  Thomas Thurman  <tthurman@gnome.org>

        * src/core/constraints.c (do_screen_and_xinerama_relative_constraints):
        Don't allocate memory for log messages unless we're logging.

svn path=/trunk/; revision=3786
2008-07-13 05:27:13 +00:00
Thomas Thurman
6bf62be4d0 This function can now officially return NULL. Two windows can't belong to
2008-07-12  Thomas Thurman  <tthurman@gnome.org>

        * src/core/group.c (meta_window_get_group): This function can now
        officially return NULL.
        * src/core/window.c (meta_window_same_application): Two windows can't
        belong to the same application unless they both belong to some
        application.  (Both belonging to no application is not the same.)
        
        Closes #453022.

svn path=/trunk/; revision=3785
2008-07-13 03:26:39 +00:00
Matej Urbančič
77820c9697 Updated Slovenian translation
svn path=/trunk/; revision=3783
2008-07-10 12:15:50 +00:00