@@ -1287,13 +1285,6 @@ void configuration_apply_settings(void) } g_free(scribble_text);
- /* set the position of the hpaned and vpaned */
- if (prefs.save_winpos)
- {
gtk_paned_set_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "hpaned1")), hpan_position);
gtk_paned_set_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "vpaned1")), vpan_position);
- }
- /* set fullscreen after initial draw so that returning to normal view is the right size.
if (ui_prefs.fullscreen)
- fullscreen mode is disabled by default, so act only if it is true */
This is the only part of the function that really needs to be applied after window realisation otherwise we get incorrect sizes after un-fullscreening the window.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/576/files#r54463203
github-comments@lists.geany.org