Add a screen argument. (process_property_notify): Damage the whole screen

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

        * src/core/compositor.c (meta_compositor_set_active_window): Add 
a
        screen argument.
        (process_property_notify): Damage the whole screen when the 
background
        changes. Fixes 522599
        (add_repair): Use the idle instead of the timeout. Fixes 522166
        (unmap_win): If the window is also focus window NULLify it.

        * src/core/window.c (meta_window_notify_focus): Notify when a 
window
        has lost focus, pass in screen as well.


svn path=/trunk/; revision=3654
This commit is contained in:
Iain Holmes
2008-03-19 00:47:01 +00:00
committed by Iain Holmes
parent e629364582
commit f2b400b82c
4 changed files with 32 additions and 6 deletions

View File

@ -65,6 +65,7 @@ void meta_compositor_free_window (MetaCompositor *compositor,
Pixmap meta_compositor_get_window_pixmap (MetaCompositor *compositor,
MetaWindow *window);
void meta_compositor_set_active_window (MetaCompositor *compositor,
MetaScreen *screen,
MetaWindow *window);
#endif /* META_COMPOSITOR_H */