mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
GdkWin32: Remove some work arounds that are not needed anymore
2cc650ce
was added to work around some of the regressions introduced by79557271
, but that commit was finally reverted in43476c09
. We can now revert2cc650ce
as well. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6614
This commit is contained in:
parent
4a75c288b2
commit
9297439de4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user