mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
GdkWin32: Don't explicitly set the transient owner as active
...when a transient child is hidden. The system does that automatically
This commit is contained in:
parent
9297439de4
commit
8a1bee1d79
@ -3071,19 +3071,6 @@ gdk_event_translate (MSG *msg,
|
||||
}
|
||||
}
|
||||
|
||||
if ((windowpos->flags & SWP_HIDEWINDOW) &&
|
||||
!GDK_SURFACE_DESTROYED (window))
|
||||
{
|
||||
/* Make transient parent the foreground window when window unmaps */
|
||||
impl = GDK_WIN32_SURFACE (window);
|
||||
|
||||
if (impl->transient_owner &&
|
||||
GetForegroundWindow () == GDK_SURFACE_HWND (window))
|
||||
{
|
||||
SetForegroundWindow (GDK_SURFACE_HWND (impl->transient_owner));
|
||||
}
|
||||
}
|
||||
|
||||
if (!(windowpos->flags & SWP_NOCLIENTSIZE))
|
||||
{
|
||||
if (window->resize_count > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user