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:
@@ -5204,7 +5204,7 @@ meta_window_notify_focus (MetaWindow *window,
|
||||
window->display->focus_window = window;
|
||||
window->has_focus = TRUE;
|
||||
meta_compositor_set_active_window (window->display->compositor,
|
||||
window);
|
||||
window->screen, 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
|
||||
@@ -5289,6 +5289,9 @@ meta_window_notify_focus (MetaWindow *window,
|
||||
if (window->frame)
|
||||
meta_frame_queue_draw (window->frame);
|
||||
|
||||
meta_compositor_set_active_window (window->display->compositor,
|
||||
window->screen, NULL);
|
||||
|
||||
meta_error_trap_push (window->display);
|
||||
XUninstallColormap (window->display->xdisplay,
|
||||
window->colormap);
|
||||
|
Reference in New Issue
Block a user