Permalink
Browse files

Restores `FullScreenView` visibility.

  • Loading branch information...
1 parent 925efee commit f682a0ccb0c1e5fa223072ee9ceaf170311ea135 @Sanva Sanva committed Jul 14, 2015
Showing with 9 additions and 8 deletions.
  1. +7 −8 src/Clients/MainApp/FSpot/FullScreenView.cs
  2. +2 −0 src/Core/FSpot.Bling/Animation.cs
@@ -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)
{
@@ -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 ()
@@ -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 ()

0 comments on commit f682a0c

Please sign in to comment.