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

@@ -5203,6 +5203,8 @@ meta_window_notify_focus (MetaWindow *window,
"* Focus --> %s\n", window->desc);
window->display->focus_window = window;
window->has_focus = TRUE;
meta_compositor_set_active_window (window->display->compositor,
window);
/* Move to the front of the focusing workspace's MRU list.
* We should only be "removing" it from the MRU list if it's