mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Revert "screen: Set a black background for testing purposes"
This reverts commit ec8ed1dbb0
.
1) It turns out to add a momentary flicker from the transition
between the login screen and user session
2) It actually isn't needed anymore since bug 733026
https://bugzilla.gnome.org/show_bug.cgi?id=740377
This commit is contained in:
parent
d7854794cf
commit
7ecde19aee
@ -496,15 +496,6 @@ create_guard_window (Display *xdisplay, MetaScreen *screen)
|
|||||||
return guard_window;
|
return guard_window;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set a black background on the root window so that we don't
|
|
||||||
* see confusing old copies of old windows when debugging
|
|
||||||
* and testing. */
|
|
||||||
static void
|
|
||||||
meta_screen_set_background (MetaScreen *screen)
|
|
||||||
{
|
|
||||||
XSetWindowBackground (screen->display->xdisplay, screen->xroot, 0x00000000);
|
|
||||||
}
|
|
||||||
|
|
||||||
MetaScreen*
|
MetaScreen*
|
||||||
meta_screen_new (MetaDisplay *display,
|
meta_screen_new (MetaDisplay *display,
|
||||||
int number,
|
int number,
|
||||||
@ -709,7 +700,6 @@ meta_screen_new (MetaDisplay *display,
|
|||||||
reload_monitor_infos (screen);
|
reload_monitor_infos (screen);
|
||||||
|
|
||||||
meta_screen_set_cursor (screen, META_CURSOR_DEFAULT);
|
meta_screen_set_cursor (screen, META_CURSOR_DEFAULT);
|
||||||
meta_screen_set_background (screen);
|
|
||||||
|
|
||||||
/* Handle creating a no_focus_window for this screen */
|
/* Handle creating a no_focus_window for this screen */
|
||||||
screen->no_focus_window =
|
screen->no_focus_window =
|
||||||
|
Loading…
Reference in New Issue
Block a user