GdkWin32: Remove some work arounds that are not needed anymore
2cc650cewas added to work around some of the regressions introduced by79557271, but that commit was finally reverted in43476c09. We can now revert2cc650ceas well. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6614
This commit is contained in:
@@ -3081,7 +3081,6 @@ gdk_event_translate (MSG *msg,
|
||||
GetForegroundWindow () == GDK_SURFACE_HWND (window))
|
||||
{
|
||||
SetForegroundWindow (GDK_SURFACE_HWND (impl->transient_owner));
|
||||
SetCapture (GDK_SURFACE_HWND (impl->transient_owner));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4804,10 +4804,7 @@ gdk_win32_toplevel_set_property (GObject *object,
|
||||
GDK_SURFACE (surface)->modal_hint = g_value_get_boolean (value);
|
||||
|
||||
if (GDK_SURFACE (surface)->modal_hint)
|
||||
{
|
||||
SetCapture (GDK_SURFACE_HWND (surface));
|
||||
_gdk_push_modal_window (surface);
|
||||
}
|
||||
_gdk_push_modal_window (surface);
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (surface), pspec);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user