~unity-greeter-team/unity-greeter/12.10

« back to all changes in this revision

Viewing changes to src/unity-greeter.vala

  • Committer: Robert Ancell
  • Author(s): Michael Terry
  • Date: 2013-11-12 01:12:29 UTC
  • Revision ID: robert.ancell@canonical.com-20131112011229-r968p84bz08ej24k
Fix likely screen corruption after logging in

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        return null;
153
153
    }
154
154
 
155
 
    public void start_session (string? session)
 
155
    public void start_session (string? session, Background bg)
156
156
    {
157
 
        /* Set the background */
 
157
        /* Paint our background onto the root window before we close our own window */
 
158
        var c = new Cairo.Context (background_surface);
 
159
        bg.draw_full (c, Background.DrawFlags.NONE);
 
160
        c = null;
158
161
        refresh_background (Gdk.Screen.get_default (), background_surface);
159
162
 
160
163
        if (test_mode)