Commit 033833c5 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Document that workaround

And a remainder that we want to drop this once we don't support GTK+2 anymore.
Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent c5e593d3
......@@ -1188,6 +1188,9 @@ zathura_jumplist_hide_inputbar(zathura_t* zathura)
girara_isc_completion(zathura->ui.session, &arg, NULL, 0);
if (zathura->ui.session->global.autohide_inputbar == true) {
/* XXX: This is a workaround for incremental-search. We should revisit this
* when we drop GTK+3 support and the inputbar is placed in a GtkOverlay
* widget. */
char *input = gtk_editable_get_chars(GTK_EDITABLE(zathura->ui.session->gtk.inputbar_entry), 0, -1);
bool res = false;
......@@ -1198,6 +1201,7 @@ zathura_jumplist_hide_inputbar(zathura_t* zathura)
return;
}
/* </workaround> */
gtk_widget_hide(zathura->ui.session->gtk.inputbar);
}
......
Markdown is supported
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