Commit ac4faec4 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix blinking while switching pages (Closes: #13)

Thanks to sagesag for the patch. If this breaks anything feel free to revert
this change.
parent f13fd80f
......@@ -1770,6 +1770,8 @@ void
switch_view(GtkWidget* widget)
{
GtkWidget* child = gtk_bin_get_child(GTK_BIN(Zathura.UI.viewport));
if(child == widget)
return;
if(child)
{
g_object_ref(child);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment