diff --git a/client/displayservers/Wayland/shell_libdecor.c b/client/displayservers/Wayland/shell_libdecor.c index 8604b59d..edf4acbd 100644 --- a/client/displayservers/Wayland/shell_libdecor.c +++ b/client/displayservers/Wayland/shell_libdecor.c @@ -130,3 +130,8 @@ bool waylandGetFullscreen(void) { return wlWm.fullscreen; } + +void waylandMinimize(void) +{ + libdecor_frame_set_minimized(wlWm.libdecorFrame); +} diff --git a/client/displayservers/Wayland/shell_xdg.c b/client/displayservers/Wayland/shell_xdg.c index f489364e..e3b680eb 100644 --- a/client/displayservers/Wayland/shell_xdg.c +++ b/client/displayservers/Wayland/shell_xdg.c @@ -149,5 +149,5 @@ bool waylandGetFullscreen(void) void waylandMinimize(void) { - //FIXME + xdg_toplevel_set_minimized(wlWm.xdgToplevel); }