summaryrefslogtreecommitdiff
path: root/src/compositor
Commit message (Collapse)AuthorAgeFilesLines
* don't show shadow for maximized windowsAlberts Muktupāvels2014-10-063-1/+67
|
* remove trailing whitespaceAlberts Muktupāvels2014-10-053-295/+295
|
* compositor-xrender: don't add shadows to ARGB windowsAlberts Muktupāvels2014-10-041-0/+7
|
* Revert "compositor-xrender: add new atom - METACITY_WINDOW_HAVE_SHADOW"Alberts Muktupāvels2014-10-041-56/+1
| | | | This reverts commit c52cd2e1d6ae50627bc9056ea6eae773e2aedfe5.
* Ignore adding a window if it's already presenthordepfo2014-10-011-0/+4
| | | | | | | If a window is added and it's already in the compositor's window list, then it won't be added again. This was causing strange behaviour in the compositor (windows and panels disappearing).
* compositor-xrender: add new atom - METACITY_WINDOW_HAVE_SHADOWAlberts Muktupāvels2014-06-091-1/+56
|
* compositor-xrender.c: fix screen flickering on session startAlberts Muktupāvels2014-06-041-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658036
* compositor-xrender.c: remove unused variablesAlberts Muktupāvels2014-06-031-4/+1
|
* Updated FSF's addressDaniel Mustieles2014-01-234-12/+4
|
* Fix build on Solaris. Closes #580665.Brian Cameron2011-01-161-1/+1
| | | | | | | | | | | | | | This patch fixes two issues on Solaris: 1) It is necessary on Solaris to run PKG_CHECK on gthread-2.0 and add glib/gthread to METACITY_LIBS in order for metacity to compile. This is because Solaris doesn't allow implicit linking. 2) src/compositor/compositor-xrender.c- needs _XOPEN_SOURCE_600 or else you get this error: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
* gnome-doc-tools version doesn't need to be so high. disable the entireThomas James Alexander Thurman2008-12-011-0/+5
| | | | | | | | | | | | | * configure.in: gnome-doc-tools version doesn't need to be so high. * src/compositor/compositor-xrender.c: disable the entire file if the compositor is disabled. * src/core/async-getprop.[ch]: fixes for -Wall * src/core/iconcache.c: fixes for -Wall * src/core/testasyncgetprop.c: fixes for -Wall * src/core/xprops.c: fixes for -Wall svn path=/trunk/; revision=4045
* add checks for HAVE_SHAPE where appropriate. fix type error which wasThomas Thurman2008-06-291-0/+2
| | | | | | | | | | | 2008-06-28 Thomas Thurman <tthurman@gnome.org> * src/core/display.c, src/compositor/compositor-xrender.c: add checks for HAVE_SHAPE where appropriate. * src/core/xprops.c: fix type error which was causing warnings. svn path=/trunk/; revision=3772
* Keep the compiler from giving some warnings.Thomas Thurman2008-06-271-1/+7
| | | | | | | | | | | | | | 2008-06-26 Thomas Thurman <tthurman@gnome.org> Keep the compiler from giving some warnings. * src/compositor/compositor-xrender.c (xrender_begin_move, xrender_update_move, xrender_end_move, xrender_free_window): four functions which were never called and contain no code #iffed out. * src/tools/metacity-mag.c (grab_area_at_mouse): fixed typecast error. svn path=/trunk/; revision=3769
* defensive programming; check meta_screen_get_compositor_data() throughoutThomas Thurman2008-06-051-23/+81
| | | | | | | | | | | | | | | | | | 2008-06-05 Thomas Thurman <tthurman@gnome.org> * src/compositor/compositor-xrender.c (paint_root, destroy_win, create_root_buffer, paint_windows, repair_screen, window_has_shadow, xrender_set_active_window, paint_dock_shadows, unmap_win, restack_win, make_shadow, resize_win, process_property_notify, free_win, process_configure_notify, process_circulate_notify, add_damage): defensive programming; check meta_screen_get_compositor_data() throughout in case it returns NULL. In particular, when this happened in a certain situation in xrender_set_active_window this caused a segfault; refs #530702 (and LP#178953 has more data) but this doesn't close them. svn path=/trunk/; revision=3751
* Add Dropdown menu atoms so we can add shadows to them. Fixes #517442Iain Holmes2008-05-241-4/+32
| | | | | | | | | | | | 2008-05-24 Iain Holmes <iain@gnome.org> * src/compositor/compositor-xrender.c: Add Dropdown menu atoms so we can add shadows to them. Fixes #517442 Handle tooltips as well. Fixes #517524 svn path=/trunk/; revision=3725
* Check the compositor isn't NULL before dereferencing it. Fixes #534569Iain Holmes2008-05-241-10/+11
| | | | | | | | | | | | 2008-05-24 Iain Holmes <iain@gnome.org> * src/compositor/compositor.c: Check the compositor isn't NULL before dereferencing it. Fixes #534569 (meta_compositor_get_window_pixmap): Actually return a value svn path=/trunk/; revision=3723
* src/include/frame.h src/include/display.h src/include/xprops.hIain Holmes2008-05-194-0/+3222
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