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:
@@ -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
|
||||
|
Reference in New Issue
Block a user