Skip to content

Commit

Permalink
Restores FullScreenView visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanva committed Jul 14, 2015
1 parent 925efee commit f682a0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/Clients/MainApp/FSpot/FullScreenView.cs
Expand Up @@ -254,14 +254,13 @@ void HandleTransitionChanged (object sender, EventArgs e)
}
}

// GTK3: OnExposeEvent
// protected override bool OnExposeEvent (Gdk.EventExpose args)
// {
// bool ret = base.OnExposeEvent (args);
//
// HideCursor ();
// return ret;
// }
protected override bool OnDrawn (Cairo.Context cr)
{
bool ret = base.OnDrawn (cr);

HideCursor ();
return ret;
}

void ExitAction (object sender, EventArgs args)
{
Expand Down
2 changes: 2 additions & 0 deletions src/Core/FSpot.Bling/Animation.cs
Expand Up @@ -94,6 +94,7 @@ public void Resume ()
state = AnimationState.Running;
// GTK3: g_source_set_priorty?
// Sources.SetPriority (GLib.Timeout.Add (40, Handler), priority);
GLib.Timeout.Add (40, Handler);
}

public void Start ()
Expand All @@ -104,6 +105,7 @@ public void Start ()
state = AnimationState.Running;
// GTK3: g_source_set_priorty?
// Sources.SetPriority (GLib.Timeout.Add (40, Handler), priority);
GLib.Timeout.Add (40, Handler);
}

public void Stop ()
Expand Down

0 comments on commit f682a0c

Please sign in to comment.