Commit 6886f479 authored by Armin K.'s avatar Armin K. Committed by Matthias Clasen

wayland: Implement minimize support

Use the existing xdg_surface API for minimization.

https://bugzilla.gnome.org/show_bug.cgi?id=695945
parent c82ad2c1
......@@ -1682,6 +1682,16 @@ gdk_wayland_window_set_icon_name (GdkWindow *window,
static void
gdk_wayland_window_iconify (GdkWindow *window)
{
GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
if (GDK_WINDOW_DESTROYED (window) ||
!WINDOW_IS_TOPLEVEL_OR_FOREIGN (window))
return;
if (!impl->xdg_surface)
return;
xdg_surface_set_minimized (impl->xdg_surface);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment