mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Does not set transient windows as modal
This prevented user to close the preview window and caused a freeze in the audio wizard
This commit is contained in:
parent
157c61d2f5
commit
3c147be53f
1 changed files with 2 additions and 2 deletions
|
|
@ -403,11 +403,11 @@ GtkWidget *linphone_gtk_create_window(const char *window_name, GtkWidget *parent
|
|||
gtk_builder_connect_signals(builder,w);
|
||||
linphone_gtk_configure_window(w,window_name);
|
||||
if(parent) {
|
||||
gtk_window_set_modal(GTK_WINDOW(w), TRUE);
|
||||
// gtk_window_set_modal(GTK_WINDOW(w), TRUE);
|
||||
gtk_window_set_transient_for(GTK_WINDOW(w), GTK_WINDOW(parent));
|
||||
gtk_window_set_position(GTK_WINDOW(w), GTK_WIN_POS_CENTER_ON_PARENT);
|
||||
} else {
|
||||
gtk_window_set_modal(GTK_WINDOW(w), FALSE);
|
||||
// gtk_window_set_modal(GTK_WINDOW(w), FALSE);
|
||||
}
|
||||
return w;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue