[client] wayland: implement minimize operation

This commit implements minimize for both xdg-shell and libdecor
pseudo-shell. This fixes #535.
This commit is contained in:
Quantum 2021-05-07 17:47:37 -04:00 committed by Geoffrey McRae
parent c6d7fb8dd0
commit edbd6f6ade
2 changed files with 6 additions and 1 deletions

View File

@ -130,3 +130,8 @@ bool waylandGetFullscreen(void)
{
return wlWm.fullscreen;
}
void waylandMinimize(void)
{
libdecor_frame_set_minimized(wlWm.libdecorFrame);
}

View File

@ -149,5 +149,5 @@ bool waylandGetFullscreen(void)
void waylandMinimize(void)
{
//FIXME
xdg_toplevel_set_minimized(wlWm.xdgToplevel);
}