Skip to content

Commit

Permalink
backend/gtk: Force-enable decorations for dialog boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Feb 4, 2024
1 parent 4927847 commit 66f53a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/gtk/nvdialog_dialog_box.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ nvd_dialog_box_gtk(const char *title, const char *message, NvdDialogType type) {
gtk_widget_set_hexpand(dialog->window_handle, true);
gtk_widget_set_vexpand(dialog->window_handle, true);
gtk_window_set_title(GTK_WINDOW(dialog->window_handle), title);
gtk_window_set_resizable(GTK_WINDOW(dialog->window_handle), false);
gtk_window_set_resizable(GTK_WINDOW(dialog->window_handle), true);
gtk_window_set_decorated(GTK_WINDOW(dialog->window_handle), true);
gtk_window_set_modal(GTK_WINDOW(dialog->window_handle), true);

GtkWidget *img;
Expand Down

0 comments on commit 66f53a0

Please sign in to comment.