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.
This commit is contained in:
Matthias Clasen 2019-12-28 11:55:12 -05:00
parent 0bb9fc65ad
commit 3fd427cfce

View File

@ -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