mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 10:56:00 +01:00
Fix adjust_window when inputbar is visible
This commit is contained in:
parent
a8cd10dcac
commit
bb104073f3
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
|
||||||
/* correct view size */
|
/* correct view size */
|
||||||
if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) {
|
if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) {
|
||||||
gtk_widget_get_allocation(session->gtk.inputbar, &allocation);
|
gtk_widget_get_allocation(session->gtk.inputbar, &allocation);
|
||||||
width += allocation.width;
|
|
||||||
height += allocation.height;
|
height += allocation.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue