Allow shaped windows _with frames_ to have shadows.

2008-03-18  Iain Holmes  <iain@gnome.org>

        * src/core/compositor.c (window_has_shadow): Allow shaped 
windows
        _with frames_ to have shadows.
        (meta_compositor_set_active_window): Watch for the focus of 
windows
        and change the size of the drop shadows.
        (generate_shadows): Create differently sized shadows.
        (meta_compositor_get_window_pixmap): Get the xwindow correctly.

        * src/core/window.c (meta_window_notify_focus): Set the active 
window
        in the compositor.


svn path=/trunk/; revision=3653
This commit is contained in:
Iain Holmes
2008-03-18 23:42:20 +00:00
committed by Iain Holmes
parent 3299427097
commit e629364582
4 changed files with 266 additions and 68 deletions

View File

@ -64,5 +64,7 @@ void meta_compositor_free_window (MetaCompositor *compositor,
MetaWindow *window);
Pixmap meta_compositor_get_window_pixmap (MetaCompositor *compositor,
MetaWindow *window);
void meta_compositor_set_active_window (MetaCompositor *compositor,
MetaWindow *window);
#endif /* META_COMPOSITOR_H */