Commit e941515a authored by Theo Linkspfeifer's avatar Theo Linkspfeifer 💬 Committed by Alexander Schwinn
Browse files

titled-dialog: Exclude normal windows from CSD adjustments

Enhances: !71

MR !72
parent a3cb2ffc
Pipeline #16240 passed with stages
in 1 minute and 35 seconds
......@@ -280,6 +280,10 @@ xfce_titled_dialog_close (GtkDialog *dialog)
static void
xfce_titled_dialog_update_window (XfceTitledDialog *titled_dialog)
/* skip if the dialog is a normal window by design (e.g. Settings Editor) */
if (gtk_window_get_type_hint (GTK_WINDOW (titled_dialog)) == GDK_WINDOW_TYPE_HINT_NORMAL)
/* set type-hint to normal to show min, max and close buttons */
gtk_window_set_type_hint (GTK_WINDOW (titled_dialog), GDK_WINDOW_TYPE_HINT_NORMAL);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment