[gtk/present-toplevel-2] win32: Drop a focus call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/present-toplevel-2] win32: Drop a focus call
- Date: Fri, 13 Mar 2020 03:00:56 +0000 (UTC)
commit 87260f6674f12ae317b02b6cedb7ea2c0d7c7b60
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Mar 12 22:59:49 2020 -0400
    win32: Drop a focus call
 gtk/gtkprintoperation-win32.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 1022dbd133..56abcbaf25 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1426,7 +1426,6 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
       gtk_container_add (GTK_CONTAINER (plug), op->priv->custom_widget);
       gtk_widget_show (op->priv->custom_widget);
       gtk_widget_show (plug);
-      gdk_surface_focus (gtk_native_get_surface (gtk_widget_get_native (plug)), GDK_CURRENT_TIME);
 
       /* This dialog is modal, so we grab the embed widget */
       gtk_grab_add (plug);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]