From: Matthias Clasen Date: Sat, 28 Dec 2019 16:55:12 +0000 (-0500) Subject: win32: Use a regular window for printing X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~486^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3fd427cfce7fb85a35b7b7471d0f28b5a258fe11;p=gtk4.git win32: Use a regular window for printing We never show this window, so it should not matter. Ideally, we'd just create a surface to get handle, anyway. --- diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c index 6308f1311b..2518545e7f 100644 --- a/gtk/gtkprintoperation-win32.c +++ b/gtk/gtkprintoperation-win32.c @@ -1722,7 +1722,7 @@ gtk_print_operation_run_with_dialog (GtkPrintOperation *op, if (parent == NULL) { - invisible = gtk_window_new (GTK_WINDOW_POPUP); + invisible = gtk_window_new (GTK_WINDOW_TOPLEVEL); parentHWnd = get_parent_hwnd (invisible); } else