From: Thomas Debesse Date: Tue, 23 Jul 2019 19:47:14 +0000 (+0200) Subject: make floating windows resizable on Windows, ref !140 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F147%2Fhead;p=xonotic%2Fnetradiant.git make floating windows resizable on Windows, ref !140 “hint menu” windows are resizeable on Linux but not on Windows, that's why it's better to use the “hint utility” type instead. --- diff --git a/libs/gtkutil/window.cpp b/libs/gtkutil/window.cpp index 50bc6df7..cb1b59c7 100644 --- a/libs/gtkutil/window.cpp +++ b/libs/gtkutil/window.cpp @@ -106,7 +106,7 @@ ui::Window create_floating_window( const char* title, ui::Window parent ){ * The mainframe is not a floating window and is not created using this function so the user * minimizes the application by minimizing the mainframe. */ - gtk_window_set_type_hint( window, GDK_WINDOW_TYPE_HINT_MENU ); + gtk_window_set_type_hint( window, GDK_WINDOW_TYPE_HINT_UTILITY ); if ( parent ) { gtk_window_set_transient_for( window, parent );