[mutter] Revert "screen: Set a black background for testing purposes"
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Revert "screen: Set a black background for testing purposes"
- Date: Thu, 20 Nov 2014 19:44:08 +0000 (UTC)
commit 7ecde19aeebd84515862a8719ff6ec6e42099ca8
Author: Ray Strode <rstrode redhat com>
Date: Thu Nov 20 14:40:19 2014 -0500
Revert "screen: Set a black background for testing purposes"
This reverts commit ec8ed1dbb04ce8169c0a38ddf066d5565117c587.
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
src/core/screen.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index dbf3f60..b26137e 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -496,15 +496,6 @@ create_guard_window (Display *xdisplay, MetaScreen *screen)
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*
meta_screen_new (MetaDisplay *display,
int number,
@@ -709,7 +700,6 @@ meta_screen_new (MetaDisplay *display,
reload_monitor_infos (screen);
meta_screen_set_cursor (screen, META_CURSOR_DEFAULT);
- meta_screen_set_background (screen);
/* Handle creating a no_focus_window for this screen */
screen->no_focus_window =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]