diff options
author | Patrick Griffis <tingping@tingping.se> | 2022-04-16 18:41:34 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2022-04-16 18:41:34 -0500 |
commit | 13b6a40b9c3d1f2215ff87cdaff9e38a4020ee92 (patch) | |
tree | 29b3d01d4be5596c2aa2c5321ca21bbf3557ae10 /src/fe-gtk/menu.c | |
parent | dd167b4c8393677f465c03d66b438d519c43fb87 (diff) |
Change preferences sub-dialogs to be modal
This solves the issue where the parent dialog is closed and then the child dialog is used. This is however only a partial fix: - Many other dialogs throughout the codebase do not currently have parent windows and need to be refactored. - Not all window managers respect modal so users can still trigger bugs. We can be more defensive against this but it requires more refactoring. Closes #2686
Diffstat (limited to 'src/fe-gtk/menu.c')
-rw-r--r-- | src/fe-gtk/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index 233715e5..76bc3906 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -1362,7 +1362,7 @@ savebuffer_req_done (session *sess, char *file) static void menu_savebuffer (GtkWidget * wid, gpointer none) { - gtkutil_file_req (_("Select an output filename"), savebuffer_req_done, + gtkutil_file_req (NULL, _("Select an output filename"), savebuffer_req_done, current_sess, NULL, NULL, FRF_WRITE); } |