Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 03 Oct 2021 09:38:32 UTC Commit: 8d22d7551b9ddbd145a8c2a3128598a44ad05a04 https://github.com/geany/geany/commit/8d22d7551b9ddbd145a8c2a3128598a44ad05a...
Log Message: ----------- Windows: Do not manually realize the main window prematurely
This has been added in 9431eea24 but seems no longer necessary and actually causes problems with setting the message window height. After each start of Geany, the message window will be set a bit lower until it is not visible anymore at all. The manual realize step was maybe necessary with older GTK2 versions but actually works contrarily on recent GTK3 builds.
Fixes #2591.
Modified Paths: -------------- src/libmain.c
Modified: src/libmain.c 5 lines changed, 0 insertions(+), 5 deletions(-) =================================================================== @@ -1209,11 +1209,6 @@ gint main_lib(gint argc, gchar **argv) build_menu_update(doc); sidebar_update_tag_list(doc, FALSE);
-#ifdef G_OS_WIN32 - /* Manually realise the main window to be able to set the position but don't show it. - * We don't set the position after showing the window to avoid flickering. */ - gtk_widget_realize(main_widgets.window); -#endif setup_window_position();
/* finally show the window */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).